C
|
cgphp 12/15/2011 |
In the "Before display" event enter this code: global $conn; |
W
|
weisd author 12/15/2011 |
In the "Before display" event enter this code: global $conn;
|
W
|
weisd author 12/15/2011 |
That works! Thanks. How can I insert into the record created in the Before SQL Query event? In that event I do, $strSQLInsert = "insert into Search_Queries (QueryField, DateField, IpAddress) values ('".$Qry."','".$Number."','".$IpAddrss."')"; db_exec($strSQLInsert,$conn); Adding your code to Before Display creates a new record. Does this all need to happen in the same event?
|