Login   Register  
PHP Classes
elePHPant
Icontem

Class: mysql_class

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Fernando André  >  mysql_class  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: mysql_class
Base name: bd
Description: Easier insert, update methods with MySQL
Related classes: , , , , , ,
Version: -
PHP version: -
License: BSD License
All time users: 1484 users
All time rank: 2189
Week users: 1 user
Week rank: 2467
Picture of Fernando André
Author: Fernando André <e-mail contact>
Packages: 3 Browse this author's classes Browse this author's classes
Country: Portugal Portugal - PHP jobs in Portugal
Age: 29
All time rank: 131016 in Portugal Portugal
Week rank: 24 Up2 in Portugal Portugal Up


  Detailed description  
This class provides a similar way of inserting updating values like with pg_insert and pg_update.
Most recently a new version was added that suports 2 new functions:
- buildform($table,$form_action='',$method='post',$action='insert');
//builds the form from a sql table
//identifying the primary field so that it will be hidden
- listtable($table); // lists contents of a table
Now also implements a buildform($table) function and
a listtable($table) function.
For the build_form method a new class was added class html that handles the
input areas and text areas.

This can be a good method to assist the programmer, and good for small projects.

It can read the configuration from a file or it can be passed to class. This is demonstrated by another class: wison_class.php .

 

  Groups  
Group folder image Databases Database management, accessing and searching View top rated classes

  Rate classes User ratings   Applications   Files Files  

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file mysql_class.php Class The source for mysql_class
Plain text file db.conf Aux. sample configuration file
Plain text file example.php Example An example of use. Of class wison that implements mysql class.
Accessible without login Plain text file mysql_class.readme Doc. English
Accessible without login Plain text file mysql_class_readme.pt.txt Doc. Portuguese, Português
Plain text file mysql_class_v1_1.php Class A improvement from the previous class Implements new features.
Plain text file wison_class.php Class Class that uses mysql_class.

Download all files: bd.tar.gz bd.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.