J
|
Jane 2/26/2007 |
Travis, function ListOnLoad() { global $conn,$strSQL; if (strpos($strSQL,"where")) { $rs = db_query($strSQL,$conn); while ($data = db_fetch_array($rs)) { $sql="INSERT INTO `unit_1 out day to day flow total` (`Unit_1_Out Date`, `Unit_1_Out Startup Totalizer`, `Unit_1_Out Shutdown Totalizer`, `Unit_1_Out Totalizer Total`) VALUES ('".$data["date"]."', '".$data["startup"]."', '".$data["shutdown"]."', '".$data["total"]."')"; db_exec($sql,$conn); } } } |
D
|
darkmage0 author 2/28/2007 |
Hey |
![]() |
Alexey admin 2/28/2007 |
Hi, {doevent name="ListOnLoad"}
|
D
|
darkmage0 author 2/28/2007 |
Hey I got it working just removed "if (strpos($strSQL,"where"))" from |