A JOIN that works sometimes ?
| From: | Christine Clerc | Date: | Tue, 25 Jun 2002 07:35:01 +0000 |
| Subject: | A JOIN that works sometimes ? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-20084@lists.php.net to get a copy of this message | ||
Could anyone please help me with that query ?
$req="SELECT * FROM tab AS C INNER JOIN inter AS A ON C.id_tab=A.id_tab WHERE A.id_cat IS NULL OR A.id_cat = 0 ORDER BY num";
$result = mysql_query ($req,$db);
It works on my machine but not on the server.
Christine