Re: [PHP] Variable Problem when UPGRADING...

2001-01-30 Thread Philip Olson
hi again james, btw, consider doing this : if (empty($submit)) { or if (!empty($submit)) { as it doesn't run into such problems. or use isset although i tend to almost always use empty, i LOVE empty() !!! each have their uses : http://www.php.net/manual/en/function.empty.php

Re: [PHP] Variable Problem when UPGRADING...

2001-01-30 Thread Teodor Cimpoesu
James Smith wrote: Alright, when i was programming with PHP3, I would use if statements like this: if(!$submit) { // display form } else { // display signup complete } to make multiple pages. Or I would do this: if($action == "signup") { if(!$submit) { //display

Re: [PHP] Variable Problem when UPGRADING...

2001-01-30 Thread Richard Lynch
://chatmusic.com/volunteer.htm - Original Message - From: James Smith [EMAIL PROTECTED] Newsgroups: php.general Sent: Tuesday, January 30, 2001 1:54 AM Subject: [PHP] Variable Problem when UPGRADING... Alright, when i was programming with PHP3, I would use if statements like this: if(!$submit

[PHP] Variable Problem when UPGRADING...

2001-01-29 Thread James Smith
Alright, when i was programming with PHP3, I would use if statements like this: if(!$submit) { // display form } else { // display signup complete } to make multiple pages. Or I would do this: if($action == "signup") { if(!$submit) { //display form } else { // display

Re: [PHP] Variable Problem when UPGRADING...

2001-01-29 Thread Philip Olson
this has to do with error reporting, using the function : http://www.php.net/manual/en/function.error-reporting.php definition of types : http://www.php.net/manual/en/phpdevel-errors.php you may have E_ALL or E_NOTICE on within php.ini philip olson http://www.cornado.com/ On Mon, 29 Jan