Error in query SELECT company FROM tbl_registration WHERE registration_num=''^sX' LIMIT 1