| | |
help me in form
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
After 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:
or you can keep the posted form variables in session and in the first page you can put the values in value attribute as shown above.
PHP Syntax (Toggle Plain Text)
<input type="text" name="testfield" value="<?=$_REQUEST[testfield]?>" />
or you can keep the posted form variables in session and in the first page you can put the values in value attribute as shown above.
Stuck in the middle of Java/PHP/Ajax development?
For free help on any technology and free articles visit http://www.techcubetalk.com
For free help on any technology and free articles visit http://www.techcubetalk.com
![]() |
Similar Threads
- Setting up a form in PHP (PHP)
- form to get e-mail and name --- for newsletter (HTML and CSS)
- Centering a form in VB.NET (VB.NET)
- Showing results of a form in new window (HTML and CSS)
- Scrolling MDI Child form (Visual Basic 4 / 5 / 6)
Other Threads in the PHP Forum
- Previous Thread: Form problems (array and mandatory field)
- Next Thread: Time out error
| Thread Tools | Search this Thread |
.htaccess advanced ajax apache api array basics beginner binary broken cakephp check checkbox class cms code combobox cookies cron curl database date datepart display download dynamic echo email error file files folder form forms function functions google head href htaccess html image include includingmysecondfileinthechain insert integration ip java javascript job joomla limit link login loop mail menu mlm mod_rewrite multiple mysql oop password paypal pdf php problem query radio random recursion regex remote script search server sessions smarty sms soap source space sql stored syntax system table traffic tutorial unicode update upload url validation validator variable video web xml youtube





