This is probably such a stupid question to ask - but I haven't been able to find the answer in any of the tutorials Ive read

What does " \n" mean?

I've come across it in a script I'm re working and fiddling with as a way of learning more about php . I keep coming across this /n thing - Its being used following an echo command - straight after <td> tags

I tried a search of the forum archives but came up with nothing...

Thanx for your help!

    \n in all programming languages means newline.

      Thank you - I knew it would be simple...

      I remember when I had to ask what LOL meant in a chat room - Gotta love newbies!

      I really appreciate youe help

        Just a note: the sequence for a new line is generally "\n" on Unix type systems, "\r" on Macs, and "\r\n" on MS Windows.

        Of course, the actual character sequence when used in a string may not apply for all programming languages, though you should be quite safe in the case of PHP.

          Write a Reply...