Re: [PHP] Can't relocate to a specified URL after submit.

2003-03-14 Thread Chris Hewitt
Niklas Lampén wrote: You cannot output anything before headers. Niklas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 14. maaliskuuta 2003 8:03 To: [EMAIL PROTECTED] Subject: [PHP] Can't relocate to a specified URL after submit. The code looks like

[PHP] Can't relocate to a specified URL after submit.

2003-03-13 Thread Larry_Li
The code looks like: if( $actionflag == delete ) { //Delete Table ip_enrollment $query=delete from ip_enrollment where id='$id'; $AMC_DB-query($query) or die(database server wasn't available now.); //Delete Table ip_evaluation $query=delete from ip_evaluation where

Re: [PHP] Can't relocate to a specified URL after submit.

2003-03-13 Thread Ray Hunter
Where is the js code in the mix. Try putting an exit; after the header function and see if that works. -- ray On Thu, 2003-03-13 at 23:02, [EMAIL PROTECTED] wrote: The code looks like: if( $actionflag == delete ) { //Delete Table ip_enrollment $query=delete from ip_enrollment

RE: [PHP] Can't relocate to a specified URL after submit.

2003-03-13 Thread Niklas Lampén
You cannot output anything before headers. Niklas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 14. maaliskuuta 2003 8:03 To: [EMAIL PROTECTED] Subject: [PHP] Can't relocate to a specified URL after submit. The code looks like: if( $actionflag == delete