How to pass/access form data with Quickform???
| From: | Jochen Schneider | Date: | Thu, 29 May 2003 17:32:58 +0000 |
| Subject: | How to pass/access form data with Quickform??? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-5682@lists.php.net to get a copy of this message | ||
Hi!
I'm sorry, but I have some problems how to use Quickform. I've found the examples, but a real tutorial or doc would be nicer...
So perhaps, someone can help me out.
I just want to create a 'normal' form, validating some fields and passing the data to another php-file.
How can I do that? Right now I can instatiate a new Form and give the argument where to pass the data! Thats ok, but then validating doesnt work! And how can I access the data on the second page?
For example:
Getting the name on teh second page:
I do:
Var_dump($name);
I get an result, but like this
array(2) {
["last"]=>
string(4) "Schneider"
["first"]=>
string(7) "Jochen"
}
I just want to get the value and not how long this string is!!!
Hope someone is getting my trouble and can help me!! PLz!! :-)
Thx in advance
Jochen Schneider