Login   Register  
PHP Classes

File: example.minimum.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of JImmy Bo  >  Bobo PHP DB Class  >  example.minimum.php  >  Download  
File: example.minimum.php
Role: Example script
Content type: text/plain
Description: Bare Minimum Example of how to use this PHP database access class
Class: Bobo PHP DB Class
Simple MySQL database class
Author: By
Last change:
Date: 2 years ago
Size: 265 bytes


Class file image Download
// this example script shows how simple this class can be. 
// $db->q         // insert or update
$sql     "INSERT INTO tablename (url, email) VALUES ('http://insidefame.com', 'user@email.com') ";
$id     $db->q($sql);