How can you use php scripting and a database to make a website act upon or respond...

cris

New member
...to user inputs? Can someone help me out a bit? I have an exam in 2 days, and I have to make like an essay based on this question. Can someone give me some advices, what to talk about, or some links to some websites, or information I could use.

the full question: "How can you use php scripting and a database to make a website act upon or respond to user inputs or user actions? "

Thanks a lot :)
 
Hmmm..... well, I can give you some real-world use for SQL databases and PHP scripting. Here's my most recent project that I was actually working on today....

I built a site for a racing organization. They wished to have individual pages for each race car driver with information about the driver along with a couple of picture. So, I simply created an SQL database, then using PHP, I created a script that allowed the organization to create and edit the database with all the drivers' information.

From all that, using more PHP, I created a single webpage. From this single page, visitors to the website can select which driver they wish to view, and the PHP script will fetch the appropriate information from the database and display it on the website. This gives the visitor the appearance that there are many webpages, one for each driver. However, in reality, it's just one page that customizes itself to which driver the visitor wishes to read about.
 
Hmmm..... well, I can give you some real-world use for SQL databases and PHP scripting. Here's my most recent project that I was actually working on today....

I built a site for a racing organization. They wished to have individual pages for each race car driver with information about the driver along with a couple of picture. So, I simply created an SQL database, then using PHP, I created a script that allowed the organization to create and edit the database with all the drivers' information.

From all that, using more PHP, I created a single webpage. From this single page, visitors to the website can select which driver they wish to view, and the PHP script will fetch the appropriate information from the database and display it on the website. This gives the visitor the appearance that there are many webpages, one for each driver. However, in reality, it's just one page that customizes itself to which driver the visitor wishes to read about.
 
Hmmm..... well, I can give you some real-world use for SQL databases and PHP scripting. Here's my most recent project that I was actually working on today....

I built a site for a racing organization. They wished to have individual pages for each race car driver with information about the driver along with a couple of picture. So, I simply created an SQL database, then using PHP, I created a script that allowed the organization to create and edit the database with all the drivers' information.

From all that, using more PHP, I created a single webpage. From this single page, visitors to the website can select which driver they wish to view, and the PHP script will fetch the appropriate information from the database and display it on the website. This gives the visitor the appearance that there are many webpages, one for each driver. However, in reality, it's just one page that customizes itself to which driver the visitor wishes to read about.
 
Hmmm..... well, I can give you some real-world use for SQL databases and PHP scripting. Here's my most recent project that I was actually working on today....

I built a site for a racing organization. They wished to have individual pages for each race car driver with information about the driver along with a couple of picture. So, I simply created an SQL database, then using PHP, I created a script that allowed the organization to create and edit the database with all the drivers' information.

From all that, using more PHP, I created a single webpage. From this single page, visitors to the website can select which driver they wish to view, and the PHP script will fetch the appropriate information from the database and display it on the website. This gives the visitor the appearance that there are many webpages, one for each driver. However, in reality, it's just one page that customizes itself to which driver the visitor wishes to read about.
 
Back
Top