コード例 #1
0
	function CDObject($tablename = '', $PDOconn = NULL)
	{
		if($PDOconn == NULL)
			$this->PDOconn = newPDOconn();
		else
			$this->PDOconn = $PDOconn;
			
		$this->ID = '';
		$this->tablename = $tablename;
		$this->exists = false;
	}
コード例 #2
0
ファイル: index.php プロジェクト: philipthelord/collegedays
<?

include_once('/var/www/html/src/php/setup.php');

$PDOconn = newPDOconn();

return false;

$sql = "UPDATE mach SET creationTime='0'";
$stmtA = $PDOconn->prepare($sql);
$stmtA->execute();


?>