Syntax ???
| From: | Ron Clark | Date: | Fri, 08 Feb 2002 18:38:26 +0000 |
| Subject: | Syntax ??? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-84026@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello all again,
Here is my line in my script:
$ynumber = mysql_query("SELECT COUNT(*) FROM responses WHERE
response=y");
But it returns a blank or empty. How do I convert this MySQL command
to PHP?
mysql> SELECT COUNT(*) FROM responses WHERE response="y";
In other words, how do I specify the "y" at the end without messing
up PHP?
Thanks,
RC
-----BEGIN PGP SIGNATURE-----
Version: PGP 7.1
iQA/AwUBPGQbIESpEYIqgLQzEQJr4wCeNiIhqHZYloLJWsvNr2ODustuPU0AoPw6
ROvim3yCO9Z9GlyReg6pyMa9
=D1uC
-----END PGP SIGNATURE-----