Forgot to change mysql_result to a little hack