Still trying to figure this out
| From: | Mike Tuller | Date: | Thu, 03 Aug 2000 21:12:15 +0000 |
| Subject: | Still trying to figure this out | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-10032@lists.php.net to get a copy of this message | ||
Ok, I almost have this working.
If I send this command though MySql I get the following:
mysql> SELECT count(*) from database where column1="Yes";
+----------+
| count(*) |
+----------+
| 77 |
+----------+
But if I do this:
$result1 = mysql_query ("SELECT count(*) from database where
column1='Yes'");
print ($result1);
The result is only 2. What am I doing wrong?
Thanks,
Mike Tuller