PHP Classes


Recommend this page to a friend!
  Classes of vinrunner   classDataObject   I_CAN_HELP_U   Download  
Role: Documentation
Content type: text/plain
Description: READ ME
Class: classDataObject
Store and retrieve MySQL table records as arrays
Author: By
Last change:
Date: 14 years ago
Size: 958 bytes


Class file image Download
/***********Data object class************88// Written by Viney Any queries: Mail /***************Thanks********************//// DATA OBJECT class ------------------- Its an attempt to make the database operation simple ... Using the object oriented concepts in PHP5. Using the class ------------------- After making connection and selection of database Use these codes: include("classDataObject.php"); ///Download and include the class... $table=new dataObject("test_table"); ////Set your table name here... queryString("fieldname==value"); ///set your condition here .... $table->createObject(2); ///Set the maximum number of records here ... while($table->getRecord()) { $table->field_name1; $table->field_name2; $table->field_name3; } ///////Put your pagination code here . $table->getPages("cls","cls1");