> -----Original Message-----
> From: Paul Kraus [mailto:[EMAIL PROTECTED]
> Sent: 04 April 2003 15:44
> 
> Also when I first run this at the top I get this error...
> 
> Notice: Undefined index: typeset in
> c:\inetpub\wwwroot\testing\cookies.php on line 4
> Notice: Undefined index: size_sel in
> c:\inetpub\wwwroot\testing\cookies.php on line 5
> 
> I assume its because the var have not been filled but I still need the
> lines there do I need to turn of warnings or something?

Use isset():

    if (isset($_POST['type_sel'])) etc...

Cheers!

Mike

---------------------------------------------------------------------
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to