June 2005
Intermediate
720 pages
20h 6m
English
Before I get into the heart of the Web application (the content management itself), I need to create two more pages. One will be index.php and will act as the home page for the site. The second will be mysql_connect.php, a script that connects to MySQL and selects the database to be used (see the “Database Scheme” sidebar in the next section for more information about the database).
1. | Create a new PHP script in your text editor (Script 12.3).
<?php # Script 12.3 - index.php Script 12.3. The application’s home page (add meaningful content as needed).
|
2. | Set the page title and include the HTML ... |
Read now
Unlock full access