I am fairly new to PHP and MySql. I have a online order form that does not require a user to be logged in to use, but if the user is logged in I am attempting to get certain fields to populate with information stored in the database for the user. If the user is not logged in I need the information to be sent to the database.
I hope this makes sense. If someone can help or point me towards a tutorial, it would be greatly appreciated.