Page 1 of 1

header/insertion problem

Posted: Thu Mar 30, 2006 11:00 am
by suki2shoes
hi guys

learning php and i'm very stuck.


http://pastebin.com/630534 - getting header sent already error, ln137, i guess its affected by the session include at top. http://pastebin.com/630511. but dunno what the problem is.


also, when my session_id is written to my db, its just staying at 0. even though i know a random number is being generated(just prinnted it to test).

i'm not sure but maybe this is to do with lines 11-20 in http://pastebin.com/630534 also.

thank you in advance for help

Posted: Thu Mar 30, 2006 11:28 am
by pickle
You should post the code here too - in case that page ever gets taken down.

Anyway, your problem might be that you're setting a $_SESSION value on line 12.