PHP Classes

MySQLi sample test: Execute MySQL queries using MySQLi extension

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
StarStarStar 59%Total: 544 All time: 5,560 This week: 39Up
Version License PHP version Categories
mysqli-sample-test 1GNU General Publi...5.0PHP 5, Databases
Description 

Author

This is a simple class that can be used to execute MySQL queries using MySQLi extension.

It can establish a connection to a given MySQL server.

The class can also execute a given SQL query and return the query results handle.

If an error occurs, the class can send an e-mail message to the e-mail address of an administrator.

Picture of sarmad Mahar
  Performance   Level  
Name: sarmad Mahar <contact>
Classes: 1 package by
Country: Pakistan Pakistan

Details

Author: Sarmad mahar Email: sarmad.mahar@gmail.com , sarmad.mahar@hotmail.com , sarmad.mahar@yahoo.com Description: This class is developed to use mysqli class Features: - Implementation of mysqli class - Sent email to admin if any query goes wrong without knowing vistors - Track querry errors Step 1: Open db.inc.php Change value of blow Variables var $host="localhost"; var $user="root"; var $pass=""; var $db="DATA_BASE_NAME"; var $adminEmail="sarmadmahar@gmail.com"; Step 2: test.php change blow query "select your table I have articles table on my localhost" $result=$db->Executequery("select * from articless");

  Files folder image Files (3)  
File Role Description
Plain text file db.inc.php Class Database class
Accessible without login Plain text file readme.txt Doc. Read me
Accessible without login Plain text file test.php Example mysqli class implementation

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:544
This week:0
All time:5,560
This week:39Up
User Ratings User Comments (1)
 All time
Utility:75%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:66%StarStarStarStar
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:59%StarStarStar
Rank:1355
 
This is great, simple but great
15 years ago (Vermaas)
77%StarStarStarStar