PHP Classes

File: db.php

Recommend this page to a friend!
  Classes of Muhammad Sameer  >  Database Abstraction plus SQL Injection  >  db.php  
File: db.php
Role: Class source
Content type: text/plain
Description: Class File
Class: Database Abstraction plus SQL Injection
MySQL access wrapper with SQL injection protection
Author: By
Last change: previously its using mysql_fetch_assoc Now its changed to mysql_fetch_array , mysql_free_result() was added

And One other Change i stablish connection to the db before i use the mysql_real_escape_string to avoid problem in different php Versions. Otherwise use of this function will return empty string if you dont have db Connection established

$this->_objDatabaseClass=new DatabaseClass();
Date: 11 years ago
Size: 5,161 bytes

You need to be a registered user and login to get this file.

Login Immediately with your account on: