Here is my class
class Databases { public $liveresellerdb = new Database(\'1host1\',\'user\',\'pswd\',\'db\'); }
the error i am gettin
Because you forgot to write the static keyword to actually make the property static.
In addition, you can't initialise static properties with expressions like this. Here's a workaround.