Page 1 of 1

header problem

Posted: Sun Apr 18, 2004 5:07 pm
by potato
I use the following code to make the page jump to another specific page:

header(sprintf("Location: %s", $insertGoTo));



but i get this as result:

Warning: Cannot modify header information - headers already sent by (output started at blahblah...) in blahblahblah...


What am i doing wrong? Or is there another way to do it?

Posted: Sun Apr 18, 2004 5:44 pm
by Illusionist