|
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]
|