Welcome Guest, Not a member yet? Register   Sign In
Favorite Movies : Need help with a tiny scripts
#11

[eluser]TheFuzzy0ne[/eluser]
Yes. I'd suggest you format them correctly before they go into the database, so when you pull them out, explode("\n", $str) will do the trick.

Something like:
Code:
$str = preg_replace("/\n+/", "\n", $str);

This should remove any runs of new lines.
#12

[eluser]IamPrototype[/eluser]
Thanks a lot. Smile




Theme © iAndrew 2016 - Forum software by © MyBB