on 17/06/03 6:09 PM, Jarmo Järvenpää ([EMAIL PROTECTED]) wrote: > Hi > > A quickie, how does the $_POST[foo] and $_POST['foo'] differ? > Both do work.
$_POST[foo] will look for a pre defined constant foo. Under certain error-reporting levels, this will generate an notice/warning, and it assumes you mean 'foo'. $_POST['foo'] is correct, and will not generate errors. Justin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php