There must be one or more independent variables, for a logistic regression, and one dependent variable. The independent variables can be continuous or categorical (ordinal/nominal) while the dependent variable must be categorical.