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!
Use session_start(); at the top of both pages to tell PHP that you're utilizing sessions, otherwise you're just throwing that variable into the abyss, never to be heard from again. After starting the session you can then start throwing variables like user into it and also validate that $_SESSION['user'] isset.
Last edited by Skiddles2010 on Fri Jul 09, 2010 9:35 am, edited 1 time in total.