Extending the code to process all form fields, title, publisher and book.
NB: The extension lines are in BOLD
import_request_variables("P","mypost_");
/*The next lines will print the posted form's values to the client browser*/
echo $mypost_title;
echo'
';
echo'$mypost_price;
echo'
';
echo $mypost_publisher;
echo'
';
echo $mypost_book;
echo'
';
/*The next lines will print the posted form's values to the client browser*/
echo$_POST['title'];
echo'
';
echo$_POST['price'];
echo'
';
echo$_POST['publisher'];
echo'
';
echo$_POST['book'];
echo'
';
?>
Sunday, 12 October 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment