Re: PHP/MySql noob falls at first hurdle

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/9/05, Paul Jinks <paul@xxxxxxxxxxxxxxx> 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/

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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux