Again, sorry for the inconvenience, but I need to finish this job, and this would be the last thing.
What I need is that, when you click on the update button, this sql statement is executed so that the total of the table is updated:
UPDATE invoice1 SET total = (priceUnit * amount);
Is there any way to do it?
I leave the php code in case you want to see something:
Thanks again.