echo or print??
Permalink
Hi i'm not too ofay with php and i've found various verisons of code, some use echo and some print, i.e.
Could anyone enlighten me as to which is better to use echo or print?
Could anyone enlighten me as to which is better to use echo or print?
depends exactly what you are doing but they are generally interchangeable.
This might help:
http://www.learnphponline.com/php-basics/php-echo-vs-print...