Loop problem - possibly!

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Addos
Forum Contributor
Posts: 305
Joined: Mon Jan 17, 2005 4:13 pm

Loop problem - possibly!

Post by Addos »

I’m struggling to update a number of fields on my database all in one go. Below is the code I’m running and I need to loop through this to carry out the necessary updates however I think I’m running into problems where to have the loop as I get some errors such as ‘unexpected T_VARIABLE’ or it simply only updates on of the fields in the database.

Can anyone help with this please?
Thanks
Post Reply