Fixed typename variable in mysqli