[thelist] content templates with ASP and SQL - converting hardreturns to <p></p>

Alliax damiencola at wanadoo.fr
Mon Jan 21 13:08:59 CST 2002


I found this in the archives:

>>$form{'yourad'}=~ s/\cM/ /g;
>>$form{'yourad'}=~ s/\n\n/<P>/g;
>>$form{'yourad'}=~ s/\n/<BR>/g;
>
>I think you need to use Chr(13) and Chr(10), but I don't remember which or
>if both, which order.

http://lists.evolt.org/archive/Week-of-Mon-20010219/150634.html

Cordialement,

__ Alliax         ~CV : http://LingoParadise.com/cv.php
Un site pour Toulon : http://www.ToulonParadise.com
Un site pour Renaud : http://www.rfaucilhon.com
Un site pour Director : http://www.LingoParadise.com






More information about the thelist mailing list