Re: PHP/MySql noob falls at first hurdle

From: Date: Fri, 09 Dec 2005 15:19:29 +0000
Subject: Re: PHP/MySql noob falls at first hurdle
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-227202@lists.php.net to get a copy of this message
On 12/9/05, Paul Jinks <paul@pauljinks.co.uk> wrote: > Brice wrote: > > > > Try to check the key of your result row with a print_r or a var_dump > command. > > > > Brice Favre > > http://pelmel.org/ > > > > Like this? > > <?php > while($ouput_row = mysql_fetch_array($result)) > print_r($output_row); > ?> > Exactly but you had a difference between the variable you instanciate and the one you print. If you can, try to modify the error reporting level on you php.ini. It can help for problem like this. -- Brice. http://pelmel.org/

« previous php.general (#227202) next »