The manual is your friend! :) www.php.net/nl2br
Diksha Neel wrote:
hi all!
in an html file thru a php script, i have to put in some data. i am using variable $string to write the data as under. what i want to know is how can i ensure that the value of $badd1 and $area get written on different lines. in other words, i want to know how to use '\n' here.
thanks, diksha.
<tr> <td width="24%" height="76">'; $string.=$badd1; $string.=$area; $string.=$city; $string.='</td> </tr>
_______________________________________________________________________
Odomos - the only mosquito protection outside 4 walls -
Click here to know more!
http://r.rediff.com/r?http://clients.rediff.com/odomos/Odomos.htm&&odomos&&wn
-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php