Thread: PHP Newbie
View Single Post
Old 06-27-2004, 06:23 AM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,489
sde is on a distinguished road
session information is header information. it needs to execute before anything is printed to the browser.

move your script above the html, with NO whitespace above the opening php tag.

also, i think you might need a session_start(); at the very top of the page.
__________________
Mike
sde is offline   Reply With Quote