|
Good question, Id like to know this too.
I usually just use trim(mysql_real_escape_string($var)); and ive not had any trouble, but then again, my site isnt exactly popular at the moment :P or at least, not polular enough to have a random attempt at taking it down :P
|