Re: Query does not work

From: Date: Wed, 02 Jul 2014 06:58:59 +0000
Subject: Re: Query does not work
References: 1 2 3  Groups: php.db 
Request: Send a blank email to php-db+get-48896@lists.php.net to get a copy of this message
On 02/07/14 04:43, Ethan Rosenberg, PhD wrote: > while ($row31 = mysqli_fetch_row($result31)) { > printf ("%s %s %s %s %s\n", $row31[0], $row31[1], $row31[2], $row31[3]); Try print_r( $row31 ); > } // no output > > How can I loose a db connection in the middle of a program? This is not showing that you have, only that you can't see the actual data returned. I prefer firebird to mysql, and the normal process is to use the mysqli_fetch_assoc style working so that the keys of the array are the returned field names in which case the print_r output gives more information ... -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

« previous php.db (#48896) next »