PHP Tutorial
Advanced PHP
PHP Form Examples
PHP login Examples
PHP AJAX Examples
PHP XML Example
PHP Frame Works
PHP Design Patterns
PHP Function Reference
PHP Useful Resources
Selected Reading
- PHP - Coding Standard
- PHP - File Uploading
- PHP - Sending Emails
- PHP - Sessions
- PHP - Cookies
- PHP - Functions
- PHP - Files & I/O
- PHP - File Inclusion
- PHP - GET & POST
- PHP - Web Concepts
- PHP - Strings
- PHP - Arrays
- PHP - Loop Types
- PHP - Decision Making
- PHP - Operator Types
- PHP - Constants
- PHP - Variable Types
- PHP - Syntax Overview
- PHP - Environment Setup
- PHP - Introduction
- PHP - Home
Advanced PHP
- PHP - For PERL Developers
- PHP - For C Developers
- PHP - Object Oriented
- PHP & XML
- PHP & AJAX
- PHP & MySQL
- PHP - Date & Time
- PHP - Bugs Debugging
- PHP - Error Handling
- PHP - Regular Expression
- PHP - Predefined Variables
PHP Form Examples
PHP login Examples
PHP AJAX Examples
PHP XML Example
- PHP - DOM Parser Example
- PHP - SAX Parser Example
- PHP - Simple XML GET
- PHP - Simple XML
- PHP - XML Introduction
PHP Frame Works
PHP Design Patterns
PHP Function Reference
PHP Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
PHP & MySQL
PHP & MySQL
PHP will work with virtually all database software, including Oracle and Sybase but most commonly used is freely available MySQL database.
What you should already have ?
You have gone through MySQL tutorial to understand MySQL Basics.
Downloaded and installed a latest version of MySQL.
Created database user guest with password guest123.
If you have not created a database then you would need root user and its password to create a database.
We have spanided this chapter in the following sections −
− Learn how to use PHP to open and close a MySQL database connection.
− This part explains how to create MySQL database and tables using PHP.
− This part explains how to delete MySQL database and tables using PHP.
− Once you have created your database and tables then you would pke to insert your data into created tables. This session will take you through real example on data insert.
− Learn how to fetch records from MySQL database using PHP.
− This one explains how to show your query result into multiple pages and how to create the navigation pnk.
− This part explains how to update existing records into MySQL database using PHP.
− This part explains how to delete or purge existing records from MySQL database using PHP.
− Learn different ways to take backup of your MySQL database for safety purpose.