BannedUser ($foo, &$db)"
> and call it "$users->CheckBannedUsers("foo", &$db)"
>
> Note ampersand symbols!
>
> Best regards,
> Andrew Kirilenko.
>
> > -Original Message-
> > From: PaulC [mailto:[EMAIL PROTECTED]]
&
I did have a look in the manual, but I got lost half way through!
I always think it's a good idea to describe the problem well :)
Thanks,
Paul
"Andreas Landmark" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Sun, Nov 11, 2001 at 06:09:40PM -, PaulC wrote:
> > I'm hopin
y("SELECT user FROM banned_users");
> }
> } // end class
>
> hope it help,
> py
>
>
> - Original Message -
> From: "Paul - Zenith Tech Inc" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, November 09, 2001 11:26 AM
> Subje
foo(){
$this->db->sql_query("SELECT user FROM banned_users");
}
} // end class
hope it help,
py
- Original Message -
From: "Paul - Zenith Tech Inc" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 09, 2001 11:26 AM
Subject: [PHP] Classes
I'm hoping somebody has the answer to this!
I have 3 pages, one a normal PHP page, and 2 which are classes.
One class, is a MySQL class I have written to connect/update users, etc
And the other is the manage users on the system.
Is there a way I can get the "users" class to talk to the "mysql"
On Fri, 19 Jan 2001, James McLaughlin wrote:
> I get an error when doing this
>
> class Something
> {
> var $something;
>
> function Something($this->something)
> {
> More somethings
> }
>
> }
>
> The error tells me that I need a ")" in the line the function call i
I get an error when doing this
class Something
{
var $something;
function Something($this->something)
{
More somethings
}
}
The error tells me that I need a ")" in the line the function call is in. If I take
the "$this->something" it will parse fine. Can you not
7 matches
Mail list logo