Check php syntax online: http://www.meandeviation.com/tutorials/learnphp/php-syntax-check/
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 - 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...