hello friends, i have two page in php, the first page contains entry form, and second page contains insert query, i want to keep form variables In the case of an error.
almualim
0
Light Poster
Recommended Answers
Jump to PostAfter the form is posted all the form variables are available in the second page in the global array $_REQUEST[]. So when you want to keep the form variables in the first page then do this:
<input type="text" name="testfield" value="<?=$_REQUEST[testfield]?>" />
or you can keep the posted …
All 2 Replies
jack239
3
Newbie Poster
almualim
commented:
thanks
+1
Shanti C
commented:
good answer...
+2
almualim
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.