You are here: Re: Simple php form Help « All PHP « IT news, forums, messages
Re: Simple php form Help

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация