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 Link to comment https://forums.phpfreaks.com/topic/281622-running-another-query-in-another-php-files-carrying-over-session-info/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.