<?
##################################
# Edit Row Example
##################################
require('mysql.php');
$mysql = new mysql();
//Create new sql obj
$node = new sqlNode();
$node->table = "members";
// push( Data Type, Column Name, Column Value )
$node->push("text","FirstName","Jane");
$node->push("text","LastName","Doe");
$node->where = "where MemberID = 1";
// Execute query and store results
if(($results = $mysql->update($node)) === false )
die($mysql->debugPrint());
?>
|