Hi again guys, seem to be asking for help a lot these days
I've figured out everything I need for my web coursework this year now and the site is as complete as its getting given my client now no longer needs it and have given up on her business. I just need to get one final things in it before I can hand it in next week.
I have a username and password form in place in the website. I need to verify the username and password against an existing entry in a database (using PHP and SQL) and if its a successful login, allow a div's text to be editable on the page, or output an error message box (which I could easily do in JS) if there is a login error.
I've set up an SQL database in xampp containing the username and password and the website is sitting in the web directory, but I can't find any tutorials that explain the basics of the verification process without going into extra code for registrations and security which aren't necessary for this (as its not going live and there will only ever be one login).
Could someone point me to a tutorial that doesn't over-complicate things with registration and OTT security measures as they're not a requirement and I would rather spend time on that separately once I have the basics understood and the login working.
We haven't and likely wont have had any PHP lectures at all this year and we haven't learned any SQL at all this year sadly yet either, someone in charge of the course decided it would be a great idea to have us do it with databases AFTER the web module finishes. :nuts:
If this were just a php script I could probably get my head around it as I do understand the basics but with SQL needed too, I need it simplifying a bit more.
Thanks as always!
I've figured out everything I need for my web coursework this year now and the site is as complete as its getting given my client now no longer needs it and have given up on her business. I just need to get one final things in it before I can hand it in next week.
I have a username and password form in place in the website. I need to verify the username and password against an existing entry in a database (using PHP and SQL) and if its a successful login, allow a div's text to be editable on the page, or output an error message box (which I could easily do in JS) if there is a login error.
I've set up an SQL database in xampp containing the username and password and the website is sitting in the web directory, but I can't find any tutorials that explain the basics of the verification process without going into extra code for registrations and security which aren't necessary for this (as its not going live and there will only ever be one login).
Could someone point me to a tutorial that doesn't over-complicate things with registration and OTT security measures as they're not a requirement and I would rather spend time on that separately once I have the basics understood and the login working.
We haven't and likely wont have had any PHP lectures at all this year and we haven't learned any SQL at all this year sadly yet either, someone in charge of the course decided it would be a great idea to have us do it with databases AFTER the web module finishes. :nuts:
If this were just a php script I could probably get my head around it as I do understand the basics but with SQL needed too, I need it simplifying a bit more.
Thanks as always!