Re: [PHP] redirect browser

2002-04-20 Thread Joe
may be my message are hazy. the line = is not include in my php code/page, i just use it in this message as to divide into different section. Joe Jason Wong [EMAIL PROTECTED] ???:[EMAIL PROTECTED] On Saturday 20 April 2002 09:26, Joe wrote: =

Re: [PHP] redirect browser

2002-04-20 Thread Jason Wong
On Saturday 20 April 2002 18:49, Joe wrote: may be my message are hazy. the line = is not include in my php code/page, i just use it in this message as to divide into different section. Whatever, the answer is still the same: You cannot have anything between the beginning

Re: [PHP] redirect browser

2002-04-20 Thread eat pasta type fasta
make sure that this script is not insterted into an html document but it's a stand alone page eg. checkstudent.php. When the student submits their number your form should bring them here (form action=checkstudent.php method=post) and the page will do its job. Make sure however that there is

[PHP] redirect browser

2002-04-19 Thread Joe
I had developed the web-based survey for student. And I need to check that each only fill in the form once time. So I write following code to check if the student number exist in the database or not. if yes, don't let them to fill in again. if no, redirect the browser to the page for them to fill

Re: [PHP] redirect browser

2002-04-19 Thread Jason Wong
On Saturday 20 April 2002 09:26, Joe wrote: = ?php Warning: Cannot add header information - headers already sent by (output started at c:\html\html\check.php:4) in c:\html\html\check.php on line 42 I had no idea about