Not sure if this is in your previous form or not, but I hope that you are doing some error handeling to make sure there is something in $string... also you can always use a die() at any point to print out your variables and such.
Something else is to try useing $_POST["string"] or $HTTP_POST_VARS["string"], showing you what is in the string...
Finally try and do a die($request) just after the statement is created so that you can manually run in at in mysql.
I also notice you have a " infront of mysql_query just after the =, this should create a parse error... not sure if this is just a typo when the code was transfered over...
Let me know if this helps...
PHPdev