• Resolved johnelk

    (@johnelk)


    I have a PHP routine which produces this output (three lines of text) at the foot of the page:

    $line .= “” . $titles[$i] .”: ” . $rows[$index][‘first_name’];
    $line .= ” ” .$rows[$index][‘last_name’] . “\r\n”;
    $line .= “Phone: ” . $rows[$index][‘phone’] . “\r\n”;
    $line .= “Email: [email ” . $rows[$index][’email’] . “]
    “;

    This worked fine with [insert_php] but with code snippets the line breaks are all ignored, and I get just one continuous line of text. Is there a fix for this?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Line breaks ignored’ is closed to new replies.