Re: [PHP] Notices - Variable not defined

2003-09-05 Thread Leonie
Wow! That's service! Thank you. Leonie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Notices - Variable not defined

2003-09-05 Thread John W. Holmes
Leonie wrote: I have this code: if (!$path) { $path = getPath(); } Sometimes $path is set (there are forms on the page that can change it). When the page is first displayed: Notice: Undefined variable: path in e:\program/ etc... It then gives a reference to the line: if (!$path) { Is there

[PHP] Notices - Variable not defined

2003-09-05 Thread Leonie
I have this code: if (!$path) { $path = getPath(); } Sometimes $path is set (there are forms on the page that can change it). When the page is first displayed: Notice: Undefined variable: path in e:\program/ etc... It then gives a reference to the line: if (!$path) { Is there a way to ge