Login   Register  
PHP Classes
elePHPant
Icontem

File: delete_example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of dan boorn  >  OO Mysql Wrapper  >  delete_example.php  >  Download  
File: delete_example.php
Role: Example script
Content type: text/plain
Description: Delete Example
Class: OO Mysql Wrapper
MySQL database SQL queries wrapper
Author: By
Last change:
Date: 2006-07-29 15:44
Size: 400 bytes
 

Contents

Class file image Download
<?
    
##################################
    # Delete Example
    ##################################
    
    
require('mysql.php');
    
$mysql = new mysql();
    
    
//Create new sql obj
    
$node = new sqlNode();
    
    
$node->table "members";
    
$node->where "where MemberID = 1";
    
    
// Execute query and store results
    
if(($results $mysql->delete($node)) === false )
        die(
$mysql->debugPrint());
        
?>