×
Create a new article
Write your page title here:
We currently have 3,189 articles on s23. Type your article name above or create one of the articles listed here!



    s23
    3,189Articles
    in:

    PHP/echo or print: Difference between revisions

    < PHP
    Content added Content deleted
    imported>mutante
    m (New page: <HighlightSyntax> <?php echo "foobar"; print ("foobar"); ?> In PHP, should i use '''echo''' or '''print'''? * http://www.faqts.com/knowledge_base/view.phtml/aid/1/fid/40 * http://w...)
     
    imported>mutante
    mNo edit summary
     
    Line 4: Line 4:
    print ("foobar");
    print ("foobar");
    ?>
    ?>
    </HighlightSyntax>


    In [[PHP]], should i use '''echo''' or '''print'''?
    In [[PHP]], should i use '''echo''' or '''print'''?


    * http://www.faqts.com/knowledge_base/view.phtml/aid/1/fid/40
    * [http://www.faqts.com/knowledge_base/view.phtml/aid/1/fid/40 more info to decide on the answer here]


    * http://www.php.net/echo
    * http://www.php.net/echo

    Latest revision as of 19:31, 14 December 2007

    <HighlightSyntax> <?php echo "foobar"; print ("foobar"); ?> </HighlightSyntax>

    In PHP, should i use echo or print?

    Cookies help us deliver our services. By using our services, you agree to our use of cookies.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.