Author: Martinescu Petrica
Web: blog.martinescu.com
class: mysql.class.php
Version: 1.0
INTRODUCTION
An object approach for handling MySQL queries. PHP is using a couple of functions for querying the database, so I have somewhat truncated this functions in a compact class.
HOW TO USE
Simply see the index.php file where you have a couple of examples showing the way this class works. For this examples to work, you will have to make a new database and import mysql_class.sql.zip in it.
LICENSE
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|