View Single Post
Old 04-20-2008, 06:23 PM   #4 (permalink)
delayedinsanity
is cute and cuddly
 
delayedinsanity's Avatar
 
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
delayedinsanity is on a distinguished road
Default

You need to have the PHP above the HTML. Send the headers before anything else, even a blank space, gets sent to the browser. Otherwise, as it's telling you, the headers have already been sent and they can't be set or re-sent after that point.

Code:
<?php /* send your headers */ ?>

<html><!-- do your stuff --></html>

<?php /* clean up behind yourself. Remember, if you sprinkle when you tinkle, be a sweety and wipe the seaty. */ ?>
My phones ringing.
-m
delayedinsanity is offline  
Reply With Quote