switched to PDO and worked on forms, and mvc