HI to all I am a newbie with php, In my page there is a form the the user can see it but if they want to fill up this form then they need to login first. My question is how can I track that the user is already login before they might fill-up the form. I am thinking that I need to preserve a variable wich handle the value if the user succesfully login. The value of this variable assigned during the verification from the database. I am not sure if this is the correct way and honestly speaking this is only my idea and I don't know how to do this. Please guide me and give me some help. Thanks in advance Tirso
You need to know about how to use session variable in PHP. Session is the right way to track user during their visit your site.