note 23250 deleted from faq.html by didou

From: Date: Fri, 03 Oct 2003 16:48:02 +0000
Subject: note 23250 deleted from faq.html by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-57766@lists.php.net to get a copy of this message
Note Submitter: netopiaNOSPAM@NOSPAMhotmail.com ---- To the gentleman who was having problems processing POST variables: $name1 = $_POST[name]; ...is always wrong, unless name is some constant you've defined. If you're looking for the form variable called name, you have to use 'name'. Read the manual under Basic Language Reference, where it says "Why is $foo[bar] wrong?" http://www.php.net/manual/en/language.types.array.php Incidentally, none of this has much to do with getting arrays from your POSTDATA, per se.

« previous php.notes (#57766) next »