|
Posted by bobzimuta on 03/22/06 21:04
Please, read the documentation on forms
http://us2.php.net/manual/en/tutorial.forms.php
As a hint you will need to access elements of the $_POST array. Such as
$_POST['age'] and $_POST['sex'].
When I'm stuck, I use the following to show all the post data that has
been submitted
if( isset( $_POST ) && !empty( $_POST ) )
{
exit( "<pre>" . print_r( $_POST, true ) . "</pre>" );
}
else
{
exit( "POST is empty, submit a form" );
}
Navigation:
[Reply to this message]
|