Hey again. Encountered new problem. Name: sessions. I've tried Google and it led me to about 4 (in total) tutorials. About 2 of which looked as if they were typed by 5 year olds and the other 2 were the opposite. Trying to sound very technological and not speaking a language I understand (in more ways than one) because they were using pear and I need MySql.
Anyway. I basically have a database named 'users' with usernames, passwords, emails, etc. I also have a registration form and a login form which work perfectly. However, I need to introduce 'sessions' and it isn't going to well. I've been told to include 'session_start()' but not one tutorial told me WHERE to put this but still. I want the user to stay 'logged in' and to have their own profile.
Sorry, I've had no sleep and I'm very frustrated with time wasting tutorials but I know I can rely on you lot to help me out and cheer me up. Thanks
Anyway. I basically have a database named 'users' with usernames, passwords, emails, etc. I also have a registration form and a login form which work perfectly. However, I need to introduce 'sessions' and it isn't going to well. I've been told to include 'session_start()' but not one tutorial told me WHERE to put this but still. I want the user to stay 'logged in' and to have their own profile.
Sorry, I've had no sleep and I'm very frustrated with time wasting tutorials but I know I can rely on you lot to help me out and cheer me up. Thanks
















