Home - Search - Site Map - Site Graph | Contact
( Last Modified: 2009 January 21st 10:09 PM )

Php Developments Notes

Check php syntax online: http://www.meandeviation.com/tutorials/learnphp/php-syntax-check/

Echo and Print

Echo is a language construct, not a function. It's faster, use it unless you need the additional features print offers (returning a value, precedence, etc...)

reference - http://www.faqts.com/knowledge_base/view.phtml/aid/1/fid/40

Single and Double Quotes

Single - taken literally, won't expand varaibles ($foo) or most escape sequences \n etc... useful for printing html string which often contain " quotes.

Double - will expand varaibles ($foo) and more escape sequences \n etc...

( Page Created: 2009 January 21st 10:02 PM )