PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have created a authentication script which then extracts the user id entered by the user and then stores it in a cookie variable called $mycookie.
Further on into the site I am able to use the cookie to perform various select statements. Only problem is that php files that i have 'required' do not recieve or even recognise the $mycookie variable.
example: require("add.php");
So my select statements which end WHERE user_id='mycookie' simply do not function.
Please forgive me if im overlooking something very small, please point me in the right direction.