[PHP] Fatal error: Call to a member function on a non-object

2006-12-06 Thread XeRnOuS ThE
I am working on a set of PHP framework so to speak, designed to create module based community & content management based scripts. I just started updating the authentication handlers, which are all PHP 4 classes, and reworking a long list of changes. The new version i am coding is near completel

[PHP] Dynamic function calls within the echo function, possible?

2004-07-19 Thread XeRnOuS ThE
Yo, i run some fairly simplistic sites, and still don't know to much PHP. Anyways i have this function called row color, it works fairly simply. $row1 = "bgcolor='#c0c0c0'"; $row2 = "bgcolor='#808080'"; function row_color(&$row_color=null) { static $row_count=0; $row_color = ($row