/ Published in: PHP
Expand |
Embed | Plain Text
<?php /** * Created by JetBrains PhpStorm. * User: Joshua * Date: 07/07/11 * Time: 17:14 * To change this template use File | Settings | File Templates. */ class SimpleMySQL { var $Conn = null; var $ConnectionID = null; var $Host = null; var $User = null; private $Password = null; var $Database = null; var $QueryCount = 0; var $Error = null; var $LastQuery = null; function Connect($host, $user, $pass, $db) { $this->Host = $host; $this->User = $user; $this->Password = $pass; $this->Database = $db; } function Query($sql) { $this->QueryCount++; $this->LastQuery = $sql; return $q; } function RowCount($rset) { return $rows; } function GetResults($rset) { } }
You need to login to post a comment.
