RE: [PHP] Show only user that variable "music"contain "pop"
| From: | John W. Holmes | Date: | Thu, 28 Nov 2002 02:58:05 +0000 |
| Subject: | RE: [PHP] Show only user that variable "music"contain "pop" | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126388@lists.php.net to get a copy of this message | ||
> $req = MYSQL_QUERY("SELECT id FROM $TBL_NEWS ORDER BY nom LIMIT 0,
> $limit_news");
> $res = MYSQL_NUM_ROWS($req);
>
> This is my lines... It's not working... :-(
Use mysql_error() to find out why. Odds are one of your variables aren't
set when you think they are.
$req = mysql_query(" ... ") or die(mysql_error());
---John Holmes...