...

View Full Version : what does the \n do in my code?



theexo51
07-11-2005, 04:50 PM
it has just started appearing in my examples with no explanation. can anyone help a poor noob

eg print ("$users[$x]<br>\n");

thanks in advance

NancyJ
07-11-2005, 04:56 PM
new line :)
What that snippet does it put a new line after an html line break, this just makes your source code look nicer - otherwise it could all be on one line

theexo51
07-11-2005, 05:11 PM
ah, thats the bit i have been after lol....wondered how to make a list!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum