Si entiendo, pues si no conosco mucho sobre array, estuve checando mi error e hice lo siguiente:
Código PHP:
$ARRAY = mysqli_fetch_array($RESULT, MYSQLI_ASSOC);
printf ($ARRAY['passwd']);
printf ($ARRAY['badge_number']);
mysqli_free_result($RESULT);
lo intente con while tambien pero no me arroja los resultados.
Asi si me funciona:
Código PHP:
while($row = mysql_fetch_array($query)){
$variable1 = $row['FECHAINICIO'];
pero estoy tratando de usar MySQLi