but I came across an annoying problem :
I keep on getting the same error message
QUOTE
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in... line 56
with this code :
CODE
54. $sql = "SELECT * from DP_news WHERE passage=1184408630";
55. $result = mysql_query($sql);
56. print_r(mysql_fetch_array($result));
55. $result = mysql_query($sql);
56. print_r(mysql_fetch_array($result));
one hour I'm trying to resolve the problem... what's wrong?
I really don't understand, I even copy-pasted an exemple on the w3school website and it still won't work !
any suggestion?