|
add the set cookie before ANY header information is sent, ie the very first thing on the page, before <html>
Or, like you found, suppress headers being sent by putting everything in an output buffer.
This is all very basic stuff, like you know, and it's great you're taking your first steps to programming, but when things get a bit too much, don't be afraid to pay someone for help...
we don't cost a lot.
Good luck and continuation.
__________________
For coding work - hit me up on andy // borkedcoder // com
(consider figuring out the email as test #1)
All models are wrong, but some are useful. George E.P. Box. p202
|