|
|
|
CMS takes the work out of building interactive websites. |
PHP MySQL
|
Contents Free PHP MySQL ToolsIntroduction to PHP MySQL Creating a Database Create a Table Adding Data Displaying Data Editing Table Data Delete Table Data Altering Tables Create a Simple Poll |
|
When the information is selected and the Submit button is depressed a table like the one below is generated:
The Name and Birthday checkboxes would be selected and the name Jim would be entered in the text box. If more than one Jim existed in the database, both would be returned. Notice also that the Id field doesn't generate because it wasn't selected. The script that produces the result is shown below. Comments are provided to show the code that is used for some of the operations. |
<?php
Note: This script would be enclosed in an html page format and saved with php extension. The FormThe code for the form would be created as shown below: Note: The characters that appear as a box following searchitem are square brackets [ and ]. This signifies that the checkbox items are array items. Download the ScriptsThe Birthdays Database management files can be downloaded in a zip file. The package contains an integrated db management system, with a simple login file and interface. To run the scripts on your PC you must have a localhost server installed along with PHP and the MySQL server. MySQL TutorialTo extend your knowledge of MySQL study the Docs and Tutorials at the official MySQL website. MYSQL.com
|
|
|
|
|
|
| HTML TOC | Web Design | Create a Website | |
PHP MySQL - Interactive Website Design Copyright © 2007