ucas [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 30, 2007 12:02 AM
To: Brian Seymour
Cc: 'php php'
Subject: Re: [PHP] OOB problem, super stumped.
You didn't call the __construct() method of your parent.
The above code, should be like this
public function __construct($host,$user,$pas
nless specified otherwise(calling parents constructor)?
Brian Seymour
AeroCoreProductions
http://www.aerocore.net/
-Original Message-
From: Jim Lucas [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 30, 2007 12:02 AM
To: Brian Seymour
Cc: 'php php'
Subject: Re: [PHP] OOB problem
On Tue, May 29, 2007 10:07 pm, Brian Seymour wrote:
> Strangely enough the only thing that was wrong was:
>
> $this->result=mysql_query($query, $this->conx);
>
> I removed $this->conx so it looked like
>
> $this->result=mysql_query($query);
Put that back!!!
Otherwise, when you add some *OTHER*
Brian Seymour wrote:
I am super stumped. This works fine separately but when I put everything
together it breaks. I has an authenticate class and a sql class. However I
always get the same error.
SQL class.
class SQL {
public $host;
public $user;
On Tue, 2007-05-29 at 23:07 -0400, Brian Seymour wrote:
> Strangely enough the only thing that was wrong was:
>
> $this->result=mysql_query($query, $this->conx);
>
> I removed $this->conx so it looked like
>
> $this->result=mysql_query($query);
NO NO NO... don't do that. If you remove the link
that =D. But anyhow, problem solved.
Brian Seymour
AeroCoreProductions
http://www.aerocore.net/
-Original Message-
From: Robert Cummings [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 29, 2007 10:51 PM
To: Brian Seymour
Cc: 'php php'
Subject: Re: [PHP] OOB problem, super stumped.
On Tu
On Tue, 2007-05-29 at 22:36 -0400, Brian Seymour wrote:
> I am super stumped. This works fine separately but when I put everything
> together it breaks. I has an authenticate class and a sql class. However I
> always get the same error.
The following line:
> $this->conx=$this->connection($host,$u
I am super stumped. This works fine separately but when I put everything
together it breaks. I has an authenticate class and a sql class. However I
always get the same error.
SQL class.
host=$host;
$this->user=$user;
$this->pass=$pass;
$
8 matches
Mail list logo