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?
2 Answers
While I'm not a huge fan of relying on AI, I think it could really speed things up for you, especially since you're tight on time. Just keep in mind that while AI tools can help generate code, they might not always offer the best learning experience if you're looking to truly understand the backend. It's a bit of a gamble.-
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.
I really just need to get this done quickly, but are AI tools actually reliable? I'm worried they might just confuse me even more.