The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
problems using db->update
#2
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?
  Reply


Messages In This Thread
problems using db->update - by s.farg - 02-07-2018, 08:14 PM
problems using db->update - by mudmin - 02-07-2018, 09:27 PM
problems using db->update - by s.farg - 02-07-2018, 09:50 PM
problems using db->update - by mudmin - 02-07-2018, 10:15 PM
problems using db->update - by s.farg - 02-07-2018, 11:10 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)