|
Posted by "Dan Parry" on 12/09/05 17:10
[snip]
Hi Paul,
Why you are closing your connection before finishing your work on
the database?
Zareef Ahmed
[/snip]
I think Zareef has spotted the most important problem here
Try removing the mysql_close() and trying it
Dan
-----Original Message-----
From: Paul Jinks [mailto:paul@pauljinks.co.uk]
Sent: 09 December 2005 15:05
To: php-general@lists.php.net
Subject: Re: [PHP] Re: PHP/MySql noob falls at first hurdle
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);
?>
Apologies if this is pathetically wrong. Like I said, I'm a total noob.
The above returned no data or errors, by the way.
Thanks
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
__________ NOD32 1.1316 (20051208) Information __________
This message was checked by NOD32 antivirus system.
http://www.eset.com
Navigation:
[Reply to this message]
|