$strSQL = "SELECT * FROM customer WHERE (billing LIKE '%".$_GET["txtCredit"]."%' AND billing LIKE '%".$_GET["txtCash"]."%' )";
<?php $Credit="Credit"; $Cash="Cash"; $strSQL = "SELECT * FROM customer WHERE billing='".$Credit."' AND billing='".$Cash."'"; ?>
$strSQL = "SELECT * FROM customer WHERE billing='".$Credit."' OR billing='".$Cash."'";
$strSQL = "SELECT * FROM customer WHERE billing in ('".$Credit."' , '".$Cash."')
<?php $sql_show = "select ots_table.*,driver_table.tell,flight_table.flight_status from ots_table,driver_table,flight_table"; if($_POST['date_search']) { $date_search = $_POST['date_search']; $Credit="Credit"; $Cash="Cash"; $customer_search = $_POST['customer_search']; $billing_search = $_POST['billing_search']; $sql_show .=" where pickup_start_date like '%$date_search%' and chargedby ='Credit' and customeragency like '%$customer_search%' and billing_status like '%$billing_search%' and ots_table.driverid like driver_table.driverid and ots_table.flight_arrival like flight_table.flight_arrival ORDER BY pickup_start_hh, pickup_start_mm ASC"; } $result_show = mysql_query($sql_show) or die(mysql_error()); while($rs = mysql_fetch_array($result_show)) { $id = $rs["id"]; $remark = $rs["backend_confirmed"]; $edit_class = (trim($remark) == '') ? '' : ' hide'; $tr_class = ''; if ($rs['controller'] == '2' OR $rs['controller'] == 3) { $tr_class = ' class="tr'.$rs['controller'].'"'; } echo '<tr'.$tr_class.'>'; ?>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง