The following warnings occurred:
Warning [2] Undefined array key 0 - Line: 1669 - File: showthread.php PHP 8.2.28 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 1669 errorHandler->error_callback
/showthread.php 915 buildtree




New Members Section
#13
JackoliciousLegs Wrote:I'm not trying to preserve at a specific width. I just figure I have three options:
1. Output directly to browser and lose hard returns that the user entered
2. Use PRE but cut it off at a certain number of chars
3. Write a function that inserts "<BR>" after every line break in a mysql response

If someone has a quick fix let me know... other wise 3 is the way i'm going

nl2br() might work...
  Reply


Messages In This Thread

Forum Jump: