Announcement

Collapse
No announcement yet.

Need some help.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • merk
    replied
    Originally posted by WDWInsider
    So my users have to type \n to go to a new line? Seems kinda inneficent.
    No, an enter is a newline, which is \n.

    Leave a comment:


  • WDWInsider
    replied
    So my users have to type \n to go to a new line? Seems kinda inneficent.

    Leave a comment:


  • Riklund
    replied
    nl2br()

    It sounds to me as if you're in need of the nl2br() function.
    PHP Code:
    // An example.
    $string "this is just a little\ntesting string..";
    echo 
    nl2br($string); 

    Leave a comment:


  • BenSjoberg
    started a topic Need some help.

    Need some help.

    I am trying to get it so when I press enter in a text box it makes a new line when I call it up from the database it shows it on a new line. Anyone know how to do this?
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X