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 Mark Parnell on 09/15/05 07:24

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/

 

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

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