I know that the header function and the setcookie function have to be used before sending anything else to the client.
But can I use both the header and cookie at the same time or does using one mean I can't use the other? If I can use them both, does it matter which one goes first?
Thanks!