Any idea why this is not working?
Code:
$query2 = "select * from tblMail where mTo='user@gmail.com'";
$result2 = mysql_query($query2, $connection);
i also tried:
$query = "select * from tblMail where mFrom = '". $_COOKIE['userEmail'] ."' ";
$result = mysql_querry($query, $connection);
Error msg:
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource on Line 36
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource on Line 43
It's something to do with @ i believe..
thanks in advance..