here goes
php and cookies
i'm using setcookie() to create cookies, works well but not with anything within my php tags and then the setcookie has to be at the top of my scripts
i get this error having to do with headers
now this is all nice and good but i REALLY want to put usernames maybe userids into these cookies, all the required info is already in a db so i just need to connect to the db and put the info into the setcookie
is there another way to create cookies? how do i get around this header error while putting dynamic info into the cookie?
php and cookies
i'm using setcookie() to create cookies, works well but not with anything within my php tags and then the setcookie has to be at the top of my scripts
i get this error having to do with headers
now this is all nice and good but i REALLY want to put usernames maybe userids into these cookies, all the required info is already in a db so i just need to connect to the db and put the info into the setcookie
is there another way to create cookies? how do i get around this header error while putting dynamic info into the cookie?
