Re: HTTP_POST_VARS

From: Date: Thu, 12 Apr 2001 16:42:50 +0000
Subject: Re: HTTP_POST_VARS
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-48335@lists.php.net to get a copy of this message
Try doing a print_r in the place where you are trying to print data. So you can see if a second dimension slipped in there, or if there is some other problem. I know that the post/get vars are always associative arrays, but I assume refering to them by their numeric keys should work...don't see why it wouldn't. -- Plutarck Should be working on something... ...but forgot what it was. ""Mat Marlow"" <mat@cryptic.co.uk> wrote in message news:9b4f3s$3uo$1@toye.p.sourceforge.net... > Hi all, > I'm having trouble retrieving data from $HTTP_POST_VARS. Whenever I try to > print something from it using print($HTTP_POST_VARS[0]); it just prints > "Array". And I know it works because I've done it once and can't do it > again! > Am I missing something glaringly obvious? > > Thanks for the help, > > Mat > PS. track_vars is ON! > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#48335) next »