View Single Post
  #4 (permalink)  
Old Nov 14th, 2007, 11:05
c010depunkk's Avatar
c010depunkk c010depunkk is offline
SuperMember

SuperMember
Join Date: Apr 2007
Location: Willich, Germany
Age: 20
Posts: 593
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: PHP, MySQL Error

Well, you've got to be outputting something before that line, because the headers are already gone.... Otherwise you wouldn't be getting the error....

BTW, this is really slow and unecessary:
PHP: Select all

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

I would do something like this:
PHP: Select all

header('Location: '.$insertGoTo);