Page 1 of 1

br12n

Posted: Wed Apr 20, 2011 12:47 pm
by lalamms
how i can use this php tags?

br12n

Re: br12n

Posted: Wed Apr 20, 2011 12:50 pm
by fugix
im not sure what youre asking..can you give more detail please?

Re: br12n

Posted: Wed Apr 20, 2011 12:56 pm
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

Re: br12n

Posted: Wed Apr 20, 2011 1:01 pm
by lalamms
fugix wrote:im not sure what youre asking..can you give more detail please?
sorry, its n12br

Re: br12n

Posted: Wed Apr 20, 2011 2:57 pm
by eivind

Re: br12n

Posted: Wed Apr 20, 2011 5:55 pm
by fugix
Ohhhh nl2br. Yeah it displays text exactly as it is written. Including paragraph spaces etc

Re: br12n

Posted: Thu Apr 21, 2011 3:13 am
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