ดึงข้อมูลstart,stopจากaccessแต่ไม่แสดงผล ช่วยดูcodeให้หน่อยครับ
เป็นformat datetime
<?
$objConnect = odbc_connect("oee","","") or die("Error Connect to Database");//("SELECT * FROM tblqa where id =$id");
$sumtr = "SELECT start, stop, item FROM oee WHERE item LIKE 'tr%';"; //"Select Sum(Valuetime) as ValueItem From oee Where item like 'tr%' "
$objExec = odbc_exec($objConnect, $sumtr) or die ("Error Execute [".$sumtr."]"); //"SELECT id,start,stop FROM oee where item LIKE 'tr%'";