Jump to content

line break help


Th3Boss

Recommended Posts

Im trying to get it to place a line break after each output

 

    function generateTemplate() {
        output = '$' + templateName + ';' + "<br>";
        output += '$ship=' + fit.shipName + ';' + "<br>";
        output += '$shipTypeID=' + fit.shipTypeID + ';' + "<br>";
        output += '$fitName=' + fit.name + ';' + "<br>";
        output += '$fitID=' + fit.fitID + ';' + "<br>";
    }
 

 

output is displayed in a textarea

 

How do I do this?

Link to comment
https://forums.phpfreaks.com/topic/276150-line-break-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.