Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/phraepar/domains/phraeparamotor.com/public_html/e-PLMProject/InsertLeave.php on line 101
นี่ code ครับ
<?
$result3 = mysql_query
("SELECT email,personnel_status
FROM personnel
WHERE personnel_id = $row2[personnel_id],personnel_status=1");
/*("SELECT *
FROM personnel,tb_leave_record,tb_leave_type
WHERE personnel_id=ref_personnel_id; and type_id=ref_type_id");*/
while($row3=mysql_fetch_array($result3)) {