Hi Guys
I need a bit of help. My project is due in at the weekend and I need to get a simple database to connect to my website using PHP and MySQL.
I have already created the database and html page. The only fields in the table are account name and PIN code.
I just need to know the php code to put into the html page that will access the database and authenticate the account number and PIN code once it is entered.
I am stuck on how the php actually works. I am complete novice. I understand I have to include the php code in my html page and then save it as .php.
I know I have to firstly connect to the database. then point from the php page to the database and check the relevant fields are correct (i.e account name and PIN code)
I know its only a couple of lines of code saying: "check if the account reference matches the PIN code"
How do i do this?
Thanks a lot this will really help๐