![]() |
Undefined variables issues
Help !
What am I missing here ?? I have the following: PHP Code:
$this->$var1 = $var1; Any ideas anyone .... thanks in advance JabberGabber |
php Code:
The only thing you did wrong was you had $this->$var1, instead of $this->var1. |
Excellent - thanks very much for that - I missed the fact you need to drop the $ when you use $this-> - I am getting there slowly ! lol
|
Keep practising and you'll soon be there :-) !
|
| All times are GMT. The time now is 05:11 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0