|
![]() |
|
CMS takes the work out of building interactive websites. |
PHP MySQL
|
Contents Introduction to PHP MySQLConnecting to the Server Creating a Database Create a Table Adding Data Displaying Data Editing Table Data Altering Tables Advanced Multiple Selection FormsCreate a Simple Poll |
|
The syntax is the same used for creating the field or column. Remove a ColumnColumns can be removed from an existing table. The next example of code would remove the birthday column. mysql_query("ALTER TABLE birthdays DROP birthday");
Remove a TableBe careful with this code. It will remove an entire table and all of its contents from your database. mysql_query("DROP TABLE table_name");
|
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