hi, here is the code:
if (isset($_REQUEST['tasksId']))
{
$query = "SELECT id, date, topic, status, priority, description, content FROM tasks WHERE id = '" . $_REQUEST['tasksId'] . "'";
if(!($dbResult = mysql_query($query, $dbLink))) {
//can't execute query
print("couldn't query the tasks table!<br>\n");
print("mySQL reports: " . mysql_error() . "<br>\n"); exit();
}
}
and here is the problem when i try to excute that:
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in C:\WebServ\wwwroot\htdocs\myo\calender\viewevent.php on line 5
couldn't query the tasks table!
mySQL reports:
does anyone know what i'm doing wrong?