I'm feeling pretty embarrassed because I'm stuck on a project for a gym website. I've got the frontend down since I'm comfortable with that, but I'm totally lost when it comes to the backend. I'm considering using PHP since I've dabbled in it a bit before, but I don't have enough time to learn a new language along with database management. I really have no clue how to code the backend or connect it with the frontend. I've searched for PHP source code, but it's either frontend-only or backend-only. Any advice on how to tackle this?
1 Answer
To connect PHP with a database, you should definitely check out the mysqli extension. There are some great resources online, like W3Schools, that can help you understand how to set it up. It'll allow your PHP code to interact with databases effectively.
If I learn PHP and MySQL, do you think I could manage to code the backend in about 10 days? I've already finished the frontend.