eduard Posted April 1, 2011 Share Posted April 1, 2011 The difference between ´echo´ and ´print´ is that the first output is on your screen and the second is on paper? Link to comment Share on other sites More sharing options...
thescientist Posted April 1, 2011 Share Posted April 1, 2011 no, not in the context of PHP. The only real difference seems to be their return value. Feel free to look these things up though.http://php.net/manual/en/function.echo.phphttp://php.net/manual/en/function.print.phpedit: it's not printing in the sense that you are thinking of. It's a server side scripting language, not a word processor. Link to comment Share on other sites More sharing options...
justsomeguy Posted April 1, 2011 Share Posted April 1, 2011 No, they both go to screen, or more specifically to the browser. There's an article about the differences here:http://www.learnphponline.com/php-basics/php-echo-vs-print Link to comment Share on other sites More sharing options...
eduard Posted April 1, 2011 Author Share Posted April 1, 2011 no, not in the context of PHP. The only real difference seems to be their return value. Feel free to look these things up though.http://php.net/manual/en/function.echo.phphttp://php.net/manual/en/function.print.phpedit: it's not printing in the sense that you are thinking of. It's a server side scripting language, not a word processor.Ok, thanks! Link to comment Share on other sites More sharing options...
eduard Posted April 1, 2011 Author Share Posted April 1, 2011 No, they both go to screen, or more specifically to the browser. There's an article about the differences here:http://www.learnphponline.com/php-basics/php-echo-vs-print Ok, thanks! I´ll read the article! Link to comment Share on other sites More sharing options...
eduard Posted April 2, 2011 Author Share Posted April 2, 2011 No, they both go to screen, or more specifically to the browser. There's an article about the differences here:http://www.learnphponline.com/php-basics/php-echo-vs-print Thanks! (although it´s still too difficult for me!) But I liked ´pressing the T´! Link to comment Share on other sites More sharing options...
justsomeguy Posted April 2, 2011 Share Posted April 2, 2011 What about that article is too "difficult" for you? Link to comment Share on other sites More sharing options...
eduard Posted April 2, 2011 Author Share Posted April 2, 2011 What about that article is too "difficult" for you?The content (too ´technical´) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.