On Sun, 2002-11-03 at 01:44, Jason Wong wrote:
On Sunday 03 November 2002 10:23, John Coder wrote:
I seem to somehow get an boolean instead of an array from a
mysql_fetch_row function and I have no idea how.
Here's the code;
Try adding some error checking into your code (see manual
, and the php manual entries for mysql_fetch_row, mysql_fetch_array,
and mysql_query.
Hope this is helpful!
-- Josh
-Original Message-
From: John Coder [mailto:jcoder;insightbb.com]
Sent: Saturday, November 02, 2002 9:23 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] boolean instead of array
I
On Sunday 03 November 2002 20:58, John Coder wrote:
Try adding some error checking into your code (see manual examples) and
using mysql_error() to find out what's going.
What error checking to insert into this code I'm clueless. I found out
Again, have a look at the examples in the manual
On Sun, 2002-11-03 at 15:01, Jason Wong wrote:
On Sunday 03 November 2002 20:58, John Coder wrote:
Try adding some error checking into your code (see manual examples) and
using mysql_error() to find out what's going.
What error checking to insert into this code I'm clueless. I found out
I seem to somehow get an boolean instead of an array from a
mysql_fetch_row function and I have no idea how.
Here's the code;
?
snip
$names=mysql_query(select name from dept join picdata where
dept.deptid=picdata.deptid limit 5);
print $names.p;
//offending query
snip
the deptid in both Tmp and picdata are the same so it nakes no diff
which I use the output is the same Boolean each time I just noticed that
the tables were diff names but data and structure is the same.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Sunday 03 November 2002 10:23, John Coder wrote:
I seem to somehow get an boolean instead of an array from a
mysql_fetch_row function and I have no idea how.
Here's the code;
Try adding some error checking into your code (see manual examples) and using
mysql_error() to find out what's