CodeCanyon MySQLi Easy Prepared Statements 8714547

CodeCanyon MySQLi Easy Prepared Statements 8714547

CodeCanyon MySQLi Easy Prepared Statements 8714547
PHP Script \ Miscellaneous
Class \ Statements \ Prepared \ Mysqli \ Database \ Mysql

PHP Script - MySQLi Easy Prepared Statements 8714547 by NorthernOptic @ CodeCanyon

PHP Script \ Miscellaneous

Last Update: 29 August 14; Compatible Browsers: IE6, IE7, IE8, IE9, IE10, IE11, Firefox, Safari, Opera, Chrome; Software Version: PHP 4.x, PHP 5.x, PHP 5.0 - 5.2, PHP 5.3, PHP 5.4, PHP 5.5, MySQL 4.x, MySQL 5.x; High Resolution: No; Files Included: PHP.

MySQLi Prepared Statements is a lightweight portable PHP class that will allow you to easily run prepared statements.

Whether it’s SELECT, INSERT, UPDATE, DELETE, CREATE TABLE, REPLACE or any other MySQL query you want to run; this script will handle it.

This script supports descriptive error handling, making debugging easier. Using the destruct magic method, automatically after an instance of the class is no longer needed, the MySQLi connection is closed and disconnected, freeing up resources.

Check out the live demo to see the documentation.

Connect to a database
When instantiating the class a data, you simply pass in your MySQL connection details in order to connect to the database. As you can create as many instances as you want, you can connect to as many databases as you want using this class.

$easypreparedstatements = new easyPreparedStatements($dbhost, $dbuser, $dbpassword, $dbname);

Select Example
Get blog posts from the tech category in an array in just one line of code.

$blogposts = $easypreparedstatements->query("SELECT id, title, post FROM posts WHERE `category`= ?", array("tech"));

Insert Example
Insert a new blog post into a MySQL database in one line of code. The script will automatically return the amount of affected rows.

$easypreparedstatements->query("INSERT INTO `posts` (`id`, `title`, `post`, `time`, `category`) VALUES ('?', '?', '?', '?', '?', '?')", array($id, "Title", "Post", $time, "tech"));

Backup MySQL to Amazon S3 ; Simple MySQL Export Function; Autoblog - effortless blog posting.; PHProtect - Captcha and PHP security; Email Verify : Validate email addresses.

Keywords: class, database, mysql, mysqli, php, php class, prepared statements.

Tags: Statements, Class, Prepared, Mysqli, Database, MySQLi

Premium CodeCanyon MySQLi Easy Prepared Statements 8714547 WordPress Themes, Website Templates, Mobile Themes, Flash Templates & Scripts from creative professional designers. Full details of CodeCanyon MySQLi Easy Prepared Statements 8714547 for digital design and education. CodeCanyon MySQLi Easy Prepared Statements 8714547 desigen style information or anything related.


Add Comments:
Enter Code: *