Re: [PHP-DB] Query does not work
[email protected] (Lester Caine) Wed, 02 Jul 2014 07:58:59 +0100
| Newsgroups | php.db |
|---|---|
| Message-ID | <[email protected]> |
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