Hey everyone I have just started learning php, I got a book for beginners for php5/mysql
I have noticed some of the example codes won’t work where i am having to research it out on how it should be to work, which btw is fine with me , it helps teach me better
My question is this, the chapter I am on is doing “if” statements, the code is to make a single HTML file for a form instead of a HTML + PHP file
After correcting how he had everything written for the “if” statement I ended up with this
[php]
echo “<input type = text”;
echo “<input name = userName\n”;
echo “<input type = submit”;
[/php]
My question is what does the “\n” stand for?
and also should I be adding the “>” at the end of those just to make it properly
Thanks in advance