PHP Classes

PDO_MySQLi class: Access MySQL using PDO or MySQLi extensions

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 271 All time: 7,713 This week: 206Up
Version License PHP version Categories
pdo_mysqli 1Freeware5.0PHP 5, Databases
Description 

Author

This class can access MySQL using PDO or MySQLi extensions.

It can connect to a MySQL database using either PDO or MySQLi depending on which extension is available in the current PHP environment.

The class can execute several types of database access operations with either those extensions like executing queries with prepared statements, fetching query results into array, and retrieve the last inserted identifier value.

Picture of MarPlo
Name: MarPlo <contact>
Classes: 7 packages by
Country: Romania Romania
Age: ???
All time rank: 79617 in Romania Romania
Week rank: 59 Up1 in Romania Romania Up
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files (13)  
File Role Description
Files folder imageexamples (10 files)
Plain text file class.pdo_mysqli.php Class PDO-MySQLi class code
Accessible without login Plain text file conn_mysql.php Conf. File with data for connecting to mysql, and include the class
Accessible without login HTML file Readme.html Doc. Documentation

  Files folder image Files (13)  /  examples  
File Role Description
  Accessible without login Plain text file 1-create_table.php Example Example 1
  Accessible without login Plain text file 10-show_columns.php Example Example 10
  Accessible without login Plain text file 2-insert_1row.php Example Example 2
  Accessible without login Plain text file 3-insert_2rows.php Example Example 3
  Accessible without login Plain text file 4-update_1.php Example Example 4
  Accessible without login Plain text file 5-update_2.php Example Example 5
  Accessible without login Plain text file 6-select_1.php Example Example 6
  Accessible without login Plain text file 7-select_2.php Example Example 7
  Accessible without login Plain text file 8-delete.php Example Example 8
  Accessible without login Plain text file 9-insert_select.php Example Example 9

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:271
This week:0
All time:7,713
This week:206Up
User Comments (1)
good
11 years ago (Rahul Shambharkar)
80%StarStarStarStarStar