Login   Register  
PHP Classes
elePHPant
Icontem

File: I_CAN_HELP_U

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of vinrunner  >  classDataObject  >  I_CAN_HELP_U  >  Download  
File: I_CAN_HELP_U
Role: Documentation
Content type: text/plain
Description: READ ME
Class: classDataObject
Store and retrieve MySQL table records as arrays
Author: By
Last change:
Date: 5 years ago
Size: 958 bytes
 

Contents

Class file image Download
/***********Data object class************88//


Written by Viney

Any queries:

Mail id:vineesh_poduval@hotmail.com


/***************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");