Thanks Andrew... I basically tried that, but without the ampersand symbols.
I'll give that a try
Many thanks,
Paul
"Andrew Kirilenko" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hello!
>
> Try to declare CheckBannedUser as "function CheckBannedUser ($foo, &$db)"
> and call i
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
Thanks for the help Pierre
Paul
"Pierre-Yves" <[EMAIL PROTECTED]> wrote in message
00c001c16940$47db1c90$0100a8c0@py">news:00c001c16940$47db1c90$0100a8c0@py...
> Hello,
>
> what I would do is build the instance of your mysql class in the
constructor
> of the user class
>
> class User{
> var $d
Hello,
what I would do is build the instance of your mysql class in the constructor
of the user class
class User{
var $db;
// constructor
function User(){
$this->db = new Mysql(True);
}
// function that show how to use the Mysql class in the User class
function foo(){
$this
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
5 matches
Mail list logo