hi guys, i have a text box in myform... but when i write this to a database(mysql) i want all the new lines to be stripped off... i used all kinds of methods available but without successs ... any takers ...
thanx, danny
$your_string = str_replace("\n","",$your_string);