On Tue, Aug 07, 2001 at 03:47:19PM +0100, Tarrant Costelloe wrote:
> When using if (!$submit)  I get an error saying:
> Warning: Undefined variable: submit in C:\Inetpub\webpub\default.php on line
> 1
> Fair enough, so then I add if (isset(!$submit)) and I then get an error;
> Parse error: parse error, expecting `T_VARIABLE' or `'$'' 
> Could someone please tell me the more than likely simple sollution.
> 
> Thanks
> 
> Taz

if (!isset ($submit))
or
if (!isset ($submit) || empty ($submit))

You were SO close!

-- 

* R&zE:

-- 
-- Renze Munnik
-- DataLink BV
--
-- E: [EMAIL PROTECTED]
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
-- H: +31 23 5516190
--
-- Stationsplein 82
-- 2011 LM  HAARLEM
--
-- http://www.datalink.nl
-- 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to