Check your logs for error messages in the application logs, and make sure you develop with Fuel in "development" environment so you can see error messages instead of the generic production errors.
p,s.: your queries are VERY insecure, and can be abused using sql injection without any problem. Either use the query builder from the DB class, or use the ORM, to access your database: