@as4s1n. Thanks for this. The trouble is if you trim the result, it wouldn't have nay spaces to explode the result.
@descalzo. Love the strtolower idea and built that in.
I've also removed the random stripslashes and altered the if{}else{} weird construct.
Unfortunately, the...