Does anyone know what the function is called to make a variable all alphanumeric?
I got a problem with some users on my site [ petcube.com ] that are using wierd symbols and stuff and it won't show up in the Database.
if you know what the function is called please e-mail me at s5knight@hotmail.com
this will strip out the bad stuff
$new_string = eregi_replace("[_a-z0-9 ]","",$dirty_text);