Line break

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Jay87
Forum Commoner
Posts: 61
Joined: Thu Jan 07, 2010 5:22 am

Line break

Post by Jay87 »

I have tried the following code to get a line break in a table but doesn't work....

Code: Select all

<?echo $PriorityCount . "\n"; ?><?echo" PRIORITY"?></th>
where am i going wrong?
User avatar
Grizzzzzzzzzz
Forum Contributor
Posts: 125
Joined: Wed Sep 02, 2009 8:51 am

Re: Line break

Post by Grizzzzzzzzzz »

"\n"

is a line break within source view perspective.

try

"<br/>"

instead
Jay87
Forum Commoner
Posts: 61
Joined: Thu Jan 07, 2010 5:22 am

Re: Line break

Post by Jay87 »

worked =]
Post Reply