How to use classes and constructors in PHP?

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
seandisanti
php-forum Fan User
php-forum Fan User
Posts: 973
Joined: Mon Oct 01, 2012 12:32 pm

Re: How to use classes and constructors in PHP?

Post by seandisanti » Mon Feb 25, 2013 9:42 am

$string does not exist in the scope of the function trying to display it. it must be referenced with $this->string

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest