$strSQL1 = "SELECT * , convert(varchar,Lt1, 103) as Dw, convert(varchar,Lt1, 108) as wsT, convert(varchar,Lt2, 108) as weT FROM EM_logtime where Lt0 = '$_POST[Lt0]' AND (convert(varchar,Lt1, 103) BETWEEN '$_POST[Lt1d]' AND '$_POST[Lt2d]') order by Lt1 DESC";
$strSQL1 = "SELECT * , convert(varchar,Lt1, 103) as Dw, convert(varchar,Lt1, 108) as wsT, convert(varchar,Lt2, 108) as weT FROM EM_logtime where Lt0 = '{$_POST[Lt0]}' AND (convert(varchar,Lt1, 103) BETWEEN '{$_POST[Lt1d]}' AND '{$_POST[Lt2d]}') order by Lt1 DESC";
SELECT * , convert(varchar,Lt1, 103) as Dw, convert(varchar,Lt1, 108) as wsT, convert(varchar,Lt2, 108) as weT FROM EM_logtime where Lt0 = '6HR5152' AND (convert(varchar,Lt1, 103) BETWEEN '26/02/2010' AND '15/03/2010') order by Lt1 DESC