Posted by Sander on 10/13/21 11:27
> Reasons the database won't update might be? (Places is set as an integer)
>
> plato
>
>
Plato,
I used $row['number'] in my example but your fields are named differently in
your database. You should rename them to $row['course']
I guess that will solve the problem. You can do an extra check and add this
line right before the update query:
print("Debug: $course<br>");
Adding this line will show you if the "where" part of the query will be
filled and the query can be executed succesfully.
Hope it helps.
Sander
Navigation:
[Reply to this message]
|