![]() |
Passing variables to fill a form
Hi :)
anyone knows how can I send variables from a php page to a form - i need to fill the form with these variables ? maybe using (the process of passing variables to other pages - through url) but how can i assign them to form variables ? |
Re: Passing variables to fill a form
Your form page is also a PHP Page and you will get them as _GET and _POST
|
Re: Passing variables to fill a form
page.php
Code: html
form.php Code: html
What I'm looking for is when user click "View Form" link, they get the for filled with items - i.e some items are alreay selected ---- then if the user want to deselect one of the items or select more items he should able to do that.. ! to check the result: - in form.php PHP Code:
|
Re: Passing variables to fill a form
Here goes the example
page.php Code: html
form.php Code: html
Also I have not verified the code and so don't go for the syntax but see the semantics for it. |
| All times are GMT +5.5. The time now is 12:06. |