Is it bad practice for a class to have a variable and method of the same name? For example:
class product {
var $Name;
function Name() {
return stripslashes($this->Name);
}
}
Thanks,
-Ed
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

