Error:
"; die ("Can't connect to the db"); } if (isset($_GET[partid])) { $id=$_GET[partid]; $query = "SELECT failmsg.msg, partid.partname FROM failmsg,partid WHERE failmsg.partid = $id AND partid.id = $id AND date = '$date'"; $result=mysql_db_query("$db", "$query"); $numrows=mysql_num_rows($result); if($numrows > 0) { PRINT ""; } while ($r=mysql_fetch_array($result)) { $partname = $r["partname"]; $msg = $r["msg"]; PRINT ""; PRINT ""; PRINT ""; } PRINT "
PartitionError Messages
$partname$msg
"; } ?>