$query="SELECT * from tblWeight where LISTID='$listid' and DateDiff(dd,LISTTIME,getdate())<=2"; $result=odbc_exec($link,$query); $worklist = array(); while (odbc_fetch_row($result)) {
}
想把结果集转成$worklist 的数组~
$query="SELECT * from tblWeight where LISTID='$listid' and DateDiff(dd,LISTTIME,getdate())<=2"; $result=odbc_exec($link,$query); $worklist = array(); while (odbc_fetch_row($result)) {
}
想把结果集转成$worklist 的数组~
|
way2createNov 20, 2018
1
|