Sure, get whatever data you need into variables and just do something like this: <? $firstname = "Trevor"; $lastname = "Gryffyn"; $company = "Air Cargo Inc"; ?> <html> <head><title></title></head> <body> <form action="process.php" method=POST> First Name: <input type=text name="firstname" value="<?$firstname?>"><br> Last Name: <input type=text name="lastname" value="<?$lastname?>"><br> Company: <input type=text name="company" value="<?$company?>"><br> <input type=submit value="Submit"> </form> </body> </html> Basic HTML form pre-population, but using PHP variables. Makes it nice and dynamic, good for pre-populating query data that's already been run (searches and such) so the user can modify what they just did instead of re-typing it all. -TG > -----Original Message----- > From: Jerry Swanson [mailto:pmysql@xxxxxxxxx] > Sent: Friday, November 19, 2004 2:40 PM > To: PHP List > Subject: HTML form online > > > I want to write php script that fill out HTML form online. Any ideas > how to do it? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php