You haven't any idea as to who I'm, what I do or what I've achieved with Smarty and 3-tier architecture. I've successfully unplugged the DB from DB_DataObjects to use raw PHP functions for MySQL database access for improving performance on high-traffic sites.
Forget about the PEAR framework, Smarty, 3-tier... how about the basic PHP? Advising another user to set:
register_globals=OFF => register_globals= ON
does not make you a guru in PHP in the first place.
Here is the usage documentation on DB_DataObjects:
I wonder who has approved your article on OnLamp.