ERROR: An error occurred while trying to extract information from database.
SELECT count(id_accommodation) FROM accommodation_reservation WHERE id_user= AND ((checkin<='' AND checkout>='') OR (checkin>'' AND checkout<'') OR (checkin>'' AND (checkin<'' AND checkout>=)) OR (checkout>'' AND checkout<'')) AND active=1