You are here: Re: Display .txt file content as an Input « HTML « IT news, forums, messages
Re: Display .txt file content as an Input

Posted by Rhonda on 09/15/05 15:41

"Mark Parnell" <webmaster@clarkecomputers.com.au> wrote in message
news:4328f76a$0$12687$5a62ac22@per-qv1-newsreader-01.iinet.net.au...
> In our last episode, Rhonda <nomailplease@yahoo.com> pronounced to
> alt.html:
>
> > <input type="text" name="order_num" src="counter.txt"" /></td></tr>
>
> Since the src attribute doesn't exist for <input> elements, it's not
> surprising the above doesn't work.
>
> Since you're using PHP already:
>
> <input type="text" name="order_num" value="<?php include("counter.txt");
> ?>">
>
> --
> Mark Parnell
> http://clarkecomputers.com.au
> alt.html FAQ :: http://html-faq.com/

That syntax produced: [ <?php include( ] in the input field, and
?>">
outside of the input.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация