LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] fetch_row problem

[ILUG] fetch_row problem

nils nils at eircom.net
Sun Mar 28 15:40:44 IST 2004


hi,
Have it sorted the suggestion from Niall seem to have done the job.
thanks
nils

On Sun, 2004-03-28 at 15:23, Conall O'Brien wrote:
> On Sat, Mar 27, 2004 at 11:00:35PM GMT, nils 
> <nils at eircom.net> incoherently babbled:
> 
> > but if i change the the while  for this i get back
> > $myrow = mysql_fetch_row($result);
> > echo "<pre>";
> > print_r($myrow);
> > echo "</pre>";
> > I get this back
> 
> It's PHP right?
> 
> 
> Well, assuming the site isn't going to be receiving a lot of traffic,
> why not use mysql_fetch_object() instead of mysql_fetch_row()? It's a 
> tiny bit slower, but much easier to debug problems...
> 
> 
> http://ie.php.net/mysql_fetch_object




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell