I know it possible to update rows in loop. But how about outside the loop?
Normally i update in loop like this:
This works just fine. Outside loop:
This one wont work!
I tried put each update ending with a comma/semicolon (like insert), not working!
Actually i need this to update other DB on other hosting. If i put the Update Function to update DB on other hosting in loop it wil works, but took long times to update each of it.
Connnect -> look for DB -> update row -> disconnect
for every rows. The database is not big, but if too much rows to update it will take long time or time out.
I did for multi insert records, well that easy.
Help anyone?