Relative Content

Tag Archive for phppostgresql

Select and update multiple tables with loop

I need to run a select which may have multiple rows, iterate through the rows and update two tables based on the select. I can’t get it working properly. The first 2 statements work fine, the third does nothing, the last one works. Variables and arrays echo OK