Jump to content

coder13

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Posts posted by coder13

  1. thanks for the reply but it is still not working.

     

    <?php

    $str = "my string";

    $str1 = "my other string";

    echo $str;

    echo "\n";

    echo $str1;

    ?>

     

    this returns: 

    my string my other string

     

    i want it to return:

    my string

    my other string

     

     

  2. I am trying to do a simple return between two strings in a php block.  All i get is a blank page when i insert the echo /n

    line.... what am i doing wrong?

     

    this is my code:

     

    <?php

    $str = "my string";

    $str1 = "my other string";

    echo $str;

    echo /n;

    echo $str1;

    ?>

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.