Mark's Tech Stuff
Programming solutions, source code, solutions to tech problems and other tech related stuff.
Sunday, March 20, 2011
Cannot access empty property PHP
Don't use the '$' when accessing a member variable. i.e.:
Wrong:
$MYTHING->$dbhost = 'localhost';
Correct:
$MYTHING->dbhost = 'localhost';
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment