again,

a simple HTML/PHP is enough.

page 1:

form

page 2

the same form and in the <input> fields use value attributes.
i.e: <input type="text" name="title" size=20 value="<?=$title?>">

if the form was not submitted then $title will be empty and will show
nothing, while if Title was submitted it will then reappear on the next page
(which is obviously as same as the one before)


Cheers,
Maxim Maletsky
www.PHPBeginner.com


-----Original Message-----
From: Phil Latio [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 14, 2001 1:14 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Put value directly into form?


How can I directly put values into a form instead having to create hidden
fields and drag the data from them?

You can see what I mean at:

http://www.yorkshire-search.co.uk/links/add.php3

Would a javascipt function be any use to me?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to