Discuss dynamic webpages and PHP.

What will be an ideal response?

Webpages that are designed using HTML are generally static, that is, their content looks the same each time the page is opened in your browser. However, when you visit your favorite online store, the content is different with each visit, reflecting, for example, items on sale or the newest products. These are dynamic webpages (their content changes) that are stored on the web server of the online merchant. Dynamic pages are often tied to a behind-the-scenes product database. If a new product becomes available or a price changes because of a sale, the change is made in one place in the underlying database. Whenever any dynamic page tied to the database is requested from the server, the latest database information is loaded into the page before it is sent back to your web browser, and your browser then displays it. The HTML for the various pages does not have to be constantly rewritten to incorporate the new data.PHP (which originally stood for Personal Home Pages but now stands for Hypertext Preprocessor) is a server-side scripting language, that is, its programs run on the web server computing system rather than on the user's own machine. Like JavaScript, PHP is embedded within HTML code in webpages hosted on a server. PHP is particularly adept at making database connections for dynamic webpages. The PHP code, when executed, sets up a connection to the database and formats HTML code on the page to include the new data values. According to a July 1, 2014, survey, over 82% of the websites whose server-side programming languages were known were using PHP.

Computer Science & Information Technology

You might also like to view...

Which of the following is considered an example of probable cause?

a. Law enforcement's personal observation b. Criminal profiling c. Reliable hearsay d. All of the above.

Computer Science & Information Technology

Six characters or more constitutes a strong password

Indicate whether the statement is true or false

Computer Science & Information Technology