wmeredith Posted August 28, 2013 Share Posted August 28, 2013 Hey guys I need help in to creating a second php file running just the second underlined query to run it when the user logs out. $sql1 = "UPDATE session_notes SET notes = '$notes',update.phpupdate.phpupdate.php notes2 = '$notes2', notes3 = '$notes3' WHERE appointment_id = '$appointment_id'"; $sql2 = "INSERT INTO provider_submits (provider_sub) values( '$provider_id')"; $result1 = sqlsrv_query($link, $sql1); $result2 = sqlsrv_query($link, $sql2); Attached is the full file with the session info Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.