<?
##################################
# 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());
?>
|