hello all, how can i get this code working, without instanciating the iTextbox to an variable thanks to all and happy new year, gokcen ---------------------------------------------- class iTextbox { function iTextbox() { return "textbox code"; } } echo new iTextBox(); ---------------------------------------------- Look here for Free PHP Classes of objects: http://phpclasses.UpperDesign.com/ To unsubscribe from this group, send an email to: php-objects-unsubscribe@egroups.com Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ To unsubscribe from this group, send an email to: php-objects-unsubscribe@yahoogroups.com Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/