You are here: Three different ways to create a new Smarty object? « PHP Programming Language « IT news, forums, messages
Three different ways to create a new Smarty object?

Posted by William Krick on 05/18/06 21:11

I'm fairly new to PHP and Smarty templates and I don't understand...

$smarty = new Smarty;

....vs...

$smarty = new Smarty();

....vs...

$smarty =& new Smarty;


I've seen all three used and I'm not sure why/when to use one version
over another.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация