I'm new to PHP and MySQL and I'm struggling with the problem below:
$sql = "UPDATE Pharm_Log set text = ". $bloodtest . " WHERE patient = " . $patientid .;
if(is_resource($sql) and mysql_num_rows($sql)>0){
The problem occurs when I try to close my SQL statement. I know it's something to do with brackets and semi colons but every time I change one thing, it messes up another. Could somebody please help me?