[PHP] Status Chaing Toggle / Code

2003-08-23 Thread Tony Pagliocco
ed"; if ($printed == 'n' || $printed == 'N' || empty($printed)) { $newvalue = "Y"; } else { $newvalue = "N"; } db_query("UPDATE outgoing_student SET printed='$newvalue' WHERE id='$student_id'"); echo "Go to previous page and refresh"; ?> Tony Pagliocco Systems Administrator Arizona State University International Programs Office Phone: (480) 727-6279 Email: [EMAIL PROTECTED]

[PHP] Warning - Page has expired error

2003-08-27 Thread Tony Pagliocco
On a website I am working on, when I go to a page that pulls a query , then click back to choose another option, I get an error that says "Warning: page has expired" then I have to click back twice to get back to the drop down menu to make a new choice of query. Is there anywhere around this? Let