Update of /cvsroot/phpmp/phpMP/core/dba
In directory sc8-pr-cvs1:/tmp/cvs-serv5708
Modified Files:
mysql.php
Log Message:
added a warning of sorts...
Index: mysql.php
===================================================================
RCS file: /cvsroot/phpmp/phpMP/core/dba/mysql.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** mysql.php 25 Sep 2003 03:43:54 -0000 1.12
--- mysql.php 5 Oct 2003 22:10:32 -0000 1.13
***************
*** 26,29 ****
--- 26,34 ----
//
+ //
+ // To clear up misconception, there will be use of a error handler in the future
+ // when one is written ^_^
+ //
+
class sql_db
{
***************
*** 40,43 ****
--- 45,49 ----
{
$this->hostname = $hostname;
+ $this->port = $port;
$this->username = $username;
$this->password = $password;
***************
*** 45,49 ****
$this->persistant = $persistant;
! if( $this->persistant == TRUE)
{
$this->db_connection_id = @mysql_pconnect($this->hostname, $this->username, $this->password);
--- 51,55 ----
$this->persistant = $persistant;
! if( $this->persistant)
{
$this->db_connection_id = @mysql_pconnect($this->hostname, $this->username, $this->password);
|