> $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(" ... ") o
$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... :-(
Thanks for your help
Le 27/11/02 15:23, « Support @ Fourthrealm.com » <[EMAIL PROTECTED]> a
écrit :
>
> If you only have one condition, t
If you only have one condition, then get rid of the AND in the where statement;
Select only the fields that you need, instead of *
Like this:
SELECT id FROM $TBL_NEWS WHERE music LIKE '%pop%' ORDER BY name
Peter
At 03:16 PM 11/27/2002 -0500, Benjamin Trépanier wrote:
Hi, I need information
3 matches
Mail list logo