:) here's what i'm using (hope this is what u asked 4) :
<form method="post" action="some.php" name="name">
Main Topics
Browse All TopicsHello ... i have a form in some.html which is a pain in the a** ... after it`s submitted, if the fields weren`t completed correctly some script returns you to the form ... but with all the fields cleared. So i need something that keeps that info there after. Can someone help me please ?! .. thanks
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
The data in your form will arrive in the action script in an associative array called $_POST. Please abide by all the usual caveats about filtering input - you MUST NOT trust the contents of $_POST. There are bad guys out there on the internet who will destroy your data base just for fun if you don't filter the input.
That said, here is a general example:
$field1 = $_POST['field1'] ;
<input type="text" name="field1" value="<?php echo $field1 ?>">
The logic in here is that ; when you post the page all of the inputs will be send to post array with their names and you can reffer them by thier names like ; $_POST['type_input_name_he
May be it might help you to understand it better if you first try to test it with a string instead of variable like ;
<input type="text" name="field1" value="Field 1 value goes here">
The statment above will write Field1 value goes here text inside the inputbox if you test it.
So that means we can dynamically print our variable in there as i wrote above...
If you send your code it would be easier to debug, but generally the form should look like that ;
##################some.php
<form action="some.php" method="post">
<input type="text" name="field1" value="<?php echo $_POST['field1'] ?>">
<input type="submit" value="send">
</form>
In first time that you call page ,there wont be any values inside field1 as we know, whenever you type something in field1 and click submit it should echo the value...
milionnzaru: The code I posted runs. You can see it in action here: http://www.laprbass.com/RA
What language are you using in your action script? Is it PHP? Please post the action script.
If the echo() command does not work, there is something seriously wrong with your installation of PHP!!
Standing by, ~Ray
Business Accounts
Answer for Membership
by: Ray_PaseurPosted on 2008-06-13 at 04:42:14ID: 21777735
You need to populate the cells with content. Typically this requires server-side scripting. What language are you using to process your form input on the server?