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.


Messages In This Thread
Favorite Movies : Need help with a tiny scripts - by El Forum - 06-19-2009, 10:54 AM
Favorite Movies : Need help with a tiny scripts - by El Forum - 06-19-2009, 11:13 AM
Favorite Movies : Need help with a tiny scripts - by El Forum - 06-19-2009, 11:27 AM
Favorite Movies : Need help with a tiny scripts - by El Forum - 06-19-2009, 11:37 AM
Favorite Movies : Need help with a tiny scripts - by El Forum - 06-19-2009, 11:46 AM
Favorite Movies : Need help with a tiny scripts - by El Forum - 06-19-2009, 12:09 PM
Favorite Movies : Need help with a tiny scripts - by El Forum - 06-19-2009, 12:32 PM
Favorite Movies : Need help with a tiny scripts - by El Forum - 06-19-2009, 12:33 PM
Favorite Movies : Need help with a tiny scripts - by El Forum - 06-19-2009, 12:35 PM
Favorite Movies : Need help with a tiny scripts - by El Forum - 06-19-2009, 02:35 PM
Favorite Movies : Need help with a tiny scripts - by El Forum - 06-19-2009, 03:25 PM
Favorite Movies : Need help with a tiny scripts - by El Forum - 06-20-2009, 02:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB