I am trying to get PHP to output a new line char to the screen, but the text stubbornly stays on one line.
I have tried using \n in various places, but do not get the desired results - either division by 0 error, Session-Start : Cannot output header, \n in the string or no new line!
I have also tried combinations of print (chr(10)); and print(chr(13)); but this just does nothing at all to the output text.
This is prolly an obvious one, but I have not been coding PHP for very long (about a week!) and could do with some help, please.
<DIV class ="myText" id="myText">
<STRONG>
<?php
print ($db_info['Title']); //NEW LINE WANTED HERE
?></STRONG>
<?php
print ($db_info['School']);
?>
</DIV>
I have tried using \n in various places, but do not get the desired results - either division by 0 error, Session-Start : Cannot output header, \n in the string or no new line!
I have also tried combinations of print (chr(10)); and print(chr(13)); but this just does nothing at all to the output text.
This is prolly an obvious one, but I have not been coding PHP for very long (about a week!) and could do with some help, please.
<DIV class ="myText" id="myText">
<STRONG>
<?php
print ($db_info['Title']); //NEW LINE WANTED HERE
?></STRONG>
<?php
print ($db_info['School']);
?>
</DIV>