-1
Hello, I have a mysql table that contains the student number and class date already registered, and I need to update the "GIFT" field with "S" or "N". In other words, register the traditional call. Could someone give me a suggestion? I am using PHP. I have a table that contains the student’s number, the date of the class. I have already solved this. Now I need to scan this table and go capturing for each line whether or not the student was present. I’m using a foreach but I’m not getting the "S" or "N" to update each line
What have you done in php? Only with this you can not know what is wrong in your code , post the code that is a complete, minimum and verifiable Example, if you do not know what is read here : https://answall.com/help/mcve
– Daniel Gentil
I don’t have the code yet. I’m looking for an orientation for a strategy to solve the problem. For example: if you use a foreach and inside the loop do such a thing, etc. It would not be necessary to elaborate the code, just indicate a strategy.
– Rui