02-07-2018, 09:27 PM
That code works fine for me. Note that the $i=1 is the row of the database, so your example above would fail if you didn't have a user with the id of 7.
Does your table u_schueler have a column called id that is set to int(11) and set to auto_increment the value every time a new row is in? Is there a row in u_schueler with an id of 1?
Does your table u_schueler have a column called id that is set to int(11) and set to auto_increment the value every time a new row is in? Is there a row in u_schueler with an id of 1?