br12n

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
lalamms
Forum Newbie
Posts: 21
Joined: Wed Apr 20, 2011 11:19 am

br12n

Post by lalamms »

how i can use this php tags?

br12n
fugix
Forum Contributor
Posts: 207
Joined: Fri Mar 18, 2011 8:01 pm

Re: br12n

Post by fugix »

im not sure what youre asking..can you give more detail please?
lalamms
Forum Newbie
Posts: 21
Joined: Wed Apr 20, 2011 11:19 am

Re: br12n

Post by lalamms »

fugix wrote:im not sure what youre asking..can you give more detail please?

here, watch this.. and the coding im using in myphp all beloging to this video..

http://www.youtube.com/watch?v=hEpgs8SG ... ure=relmfu
lalamms
Forum Newbie
Posts: 21
Joined: Wed Apr 20, 2011 11:19 am

Re: br12n

Post by lalamms »

fugix wrote:im not sure what youre asking..can you give more detail please?
sorry, its n12br
eivind
Forum Commoner
Posts: 28
Joined: Tue Apr 19, 2011 7:57 am

Re: br12n

Post by eivind »

fugix
Forum Contributor
Posts: 207
Joined: Fri Mar 18, 2011 8:01 pm

Re: br12n

Post by fugix »

Ohhhh nl2br. Yeah it displays text exactly as it is written. Including paragraph spaces etc
eivind
Forum Commoner
Posts: 28
Joined: Tue Apr 19, 2011 7:57 am

Re: br12n

Post by eivind »

An example from php.net:

Code: Select all

echo nl2br("foo isn't\n bar");
Will output

Code: Select all

foo isn't<br />
 bar
Post Reply