Results for: "sql"

Contents (101)

Six Useful PHP code snippets
Six Useful PHP code snippets

Here’s a mini list of  useful PHP code snippets that we find using on a weekly basis. You could use…

read more
Tips to Create Secure PHP Applications
Tips to Create Secure PHP Applications

PHP is one of the most popular programming languages for the web. Such languages are very helpful for the programmer…

read more
PHP:EZSql class, manage your database connection easily
PHP:EZSql class, manage your database connection easily

EZSql is a php class to make it very easy to deal with database connections, there’s already an ezsql documentation: Extensive…

read more
PHP-MongoDB Beginners Guide
PHP-MongoDB Beginners Guide

Over the last year or so, there's been a small revolution taking place in the database world, with the advent…

read more
Import data from Mysql to MongoDb with EzSql class
Import data from Mysql to MongoDb with EzSql class

This simple php class to demonstrate how to import data from a MySql database to a Mongodb with out complications.  // It uses the ezsql database class from Justin Vincent:  // http://justinvincent.com/ezsql include_once "ezsql/shared/ez_sql_core.php"; include_once "ezsql/mysql/ez_sql_mysql.php";            class mongodb_importer {     public $user;         public $pass;         public $databse;         public $server;         public function import($table_name,$mongo_db)     {         $db = new ezSQL_mysql($this->user,$this->pass,$this->database,$this->server);                      $m = new Mongo();         $mongo_db = $m->selectDB($mongo_db);         $collection = new MongoCollection($mongo_db, $table_name);         $res = $db->get_results("select * from ". $table_name);         $i = 0;         foreach($res as $r)         {             $i++;             $collection->insert($r);             }         return $i;     } } ?> And…

read more
Genghis - Mongo DB Manager in a single file
Genghis - Mongo DB Manager in a single file

  For NoSQL fans, MongoDB is definitely the most popular solution with the simplicity and cross-platform support offered. In order to manage…

read more
How to install LAMP (Linux,Apache,Mysql,Php) in Ubuntu 12.10
How to install LAMP (Linux,Apache,Mysql,Php) in Ubuntu 12.10

About LAMP LAMP stack is a group of open source software used to get web servers up and running. The acronym…

read more
A list of Great PHP libraries and classes you should know
A list of Great PHP libraries and classes you should know

It is an exciting time to be a PHP developer. There are lots of useful libraries released every day, and…

read more
Php: Introduction to Mysqli Extension
Php: Introduction to Mysqli Extension

  Experienced developers eschew the original MySQL extension because of its abandoned status in PHP. Nascent web developers, however, may be…

read more
How To Reset ISPCONFIG 3 Admin Password
How To Reset ISPCONFIG 3 Admin Password

On some occasions we may be installing a server, or simply it has been a long time since we last…

read more
Install ISPCONFIG 3 in UBUNTU 12.04
Install ISPCONFIG 3 in UBUNTU 12.04

  Note: This is work in progress! You should probably test this in a virtual machine first and play around with various…

read more