i am going make website for a particular city | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

i am going make website for a particular city

i am working on a project which is going to be based on particular city, how do i make it more dynamic less static and i also want to use database in it and real confused how do use the database which data should i used with this type of project.

29th May 2021, 5:20 AM
Mysterious
Mysterious - avatar
2 Answers
+ 1
If you want to hse databases then SQL is the best way to go. Php files can be used to make webpages on their own as im sire you are aware of. To make it more dynamic that comes down to how well you plan the website and your CSS. If you want client-based evenrs to happen then JS is your best friend. Anythinf server-side then php should be used to communicate and query the SQL database. I believe you can query SQL from HTML or JS but its best practice to do it in PHP as it has more advanced festures like the $_POST[] event which will send something go the server/database. Its also best practice to limit content-heavy elements on your webpage (like images) as itll take longer for the browser’s render engine to load. I believe that should help with your question, but if you could be a little more specific on what you mean and want by dynamic then that’d be fantastic. Hope it helped :)
29th May 2021, 5:35 AM
Zak Polley
Zak Polley - avatar
+ 1
👍👍👍👍
26th Jun 2021, 10:57 AM
Mysterious
Mysterious - avatar