Re: [PHP] OOB problem, super stumped.

2007-05-30 Thread Jim Lucas
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

RE: [PHP] OOB problem, super stumped.

2007-05-30 Thread Brian Seymour
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

RE: [PHP] OOB problem, super stumped. (resolved)

2007-05-30 Thread Richard Lynch
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*

Re: [PHP] OOB problem, super stumped.

2007-05-29 Thread Jim Lucas
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;

RE: [PHP] OOB problem, super stumped. (resolved)

2007-05-29 Thread Robert Cummings
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

RE: [PHP] OOB problem, super stumped. (resolved)

2007-05-29 Thread Brian Seymour
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

Re: [PHP] OOB problem, super stumped.

2007-05-29 Thread Robert Cummings
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

[PHP] OOB problem, super stumped.

2007-05-29 Thread Brian Seymour
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; $