On Saturday 11 May 2002 19:10, baldey_uk wrote: > Yes i have tested it thats why i am asking, as it is not working either way > for me, it just stays on the same screen but blanks the previous output to > the page. > > Baldey_uk > > -----Original Message----- > From: Nick Wilson [mailto:[EMAIL PROTECTED]] > Sent: 11 May 2002 12:07 > To: Php-General > Subject: Re: [PHP] using header (); > > > > * and then baldey_uk declared.... > > > Can someone tell me how to use the header function? Can i use it with > > relative URLs for example: > > > > header ("Location:index2.php"); > > Have you tested it? > Come on, took me all of a minute and a half to try it out :-)
You need a space after the colon: header ("Location: index2.php"); -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Kennedy's Market Theorem: Given enough inside information and unlimited credit, you've got to go broke. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php