julien Posted March 28, 2008 Share Posted March 28, 2008 this is some code i am using and i am just wondering what an echo is/does? else { echo 'Sorry, do not have destination information for'; } ?> Link to comment https://forums.phpfreaks.com/topic/98342-whats-an-echo/ Share on other sites More sharing options...
JD* Posted March 28, 2008 Share Posted March 28, 2008 It prints information to the screen Link to comment https://forums.phpfreaks.com/topic/98342-whats-an-echo/#findComment-503244 Share on other sites More sharing options...
wildteen88 Posted March 28, 2008 Share Posted March 28, 2008 It prints information to the screen It also the same as print, the following will give the same result as echo: print 'Sorry, do not have destination information for'; Link to comment https://forums.phpfreaks.com/topic/98342-whats-an-echo/#findComment-503348 Share on other sites More sharing options...
doni49 Posted March 29, 2008 Share Posted March 29, 2008 It prints information to the screen It also the same as print, the following will give the same result as echo: print 'Sorry, do not have destination information for'; And for more info as to the diffs between print and echo: http://www.faqts.com/knowledge_base/view.phtml/aid/1/fid/40 Link to comment https://forums.phpfreaks.com/topic/98342-whats-an-echo/#findComment-503751 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.