hello again
this is my new problem: I am trying to write a script in order to compare data between two tables of a db.
[php]
$sql = “SELECT * FROM table1
WHERE table1.id NOT IN
(SELECT table2.id FROM table2 WHERE table1.id=table2.id)”;
$res = mysql_query($sql)or die(“there is no hope any more!!”);
[/php]
The query is ok BUT it dosn’t work…i get the message “there is no hope”!!!
any ideas?