Jump to content

Running another Query in another php files carrying over Session info


wmeredith

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.