Forum Moderators: coopster
This has been confusing me a while, can somone explain the concept I am trying to explain? Thx
A dynamic site in 2 minutes
no special skills required [webmasterworld.com]
There are plenty of great step-by-step tutorials on the Web regarding building a dynamic site with PHP and MySQL.
I would recommend doing a Google search for:
"building dynamic websites with PHP and MySQL"
This search will return plenty of bed time reading!
The basics, as daisho as pointed out are:
- The user (client) will request a page having provided some input - either via a Form (submitted using POST), or directly via the URL (submitted using GET - which means the link could be from another page or even another website)
- Your server then processes the page using PHP, which, using the input received (either by GET or by POST) can make a query to your database or access other resources to find the information required.
- Your server then builds up a brand new HTML every time by using the information retrieved from the database - and sends it back to the user (client)!
Happy coding!
if my site was [site.com...] or somthing like that it would show the show I have in my database with the id of 1?
Yep - you got it!