Tam88 Posted July 8, 2013 Share Posted July 8, 2013 Hello, Firstly i will try and explain what i am trying to achieve here today, I am creating a website where users sign up and log in to their account but upon login they have to select a car from a list, now once they have selected the car i want that to be stored in the database and never show that page again. Would using IF statements be a valid way to do this or am i looking in the wrong place? When a user first signs up their car ID will = 0 so if i was to write a code pretty much saying IF car ID=0 then (display the page where they can chose one) Else (go to memberspage) would this be a correct way of going about it. Many Thanks in advance. Quote Link to comment https://forums.phpfreaks.com/topic/279959-using-if-statements-to-display-different-pages/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.