-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
* On 18-01-02 at 17:00
* TD - Sales International Holland B.V. said....
>
> Hey there,
>
> got a question about $this. I thought this was a fixed variable to point to
> the currently used object but I've seen a script wherein it's used within an
> object like this
>
> class a {
> $var = 0;
>
> function b {
> do something...
> $this ->var++;
> }
> }
>
> the $this here will increment the $var of the object a... so far so good.
>
> now further in the script you'll get an sql query
> $this = mysql_fetch_array(indentifier);
Looks to me like $this is just an ordinary var as it not being used with
the pointer thingy (->)
Nick Wilson
Tel: +45 3325 0688
Fax: +45 3325 0677
Web: www.explodingnet.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8SEjkHpvrrTa6L5oRArB8AKCUrW7gCVlEF51wXKQO2yY+TIaBLACcDTgX
IPYbBSPO6fDvZH8fvXlEmyM=
=/t2J
-----END PGP SIGNATURE-----
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]