Re: [PHP] Checking for form submission

2004-08-04 Thread Jason Wong
On Wednesday 04 August 2004 17:25, Shaun wrote: > I am trying to create some code to check whether a form has been submitted. > The following code seems to print evertime, whether a form has been > submitted or not: > > if (isset($_POST)) { > echo '(isset($_POST))'; > } > > This seems most odd,

Re: [PHP] Checking for form submission

2004-08-04 Thread eoghan
I am trying to create some code to check whether a form has been submitted. The following code seems to print evertime, whether a form has been submitted or not: if (isset($_POST)) { echo '(isset($_POST))'; } why not just if( $_POST) { echo $_POST; } -- PHP General Mailing List (http://w