Welcome Guest, Not a member yet? Register   Sign In
Issue with database record updating: updating record inside a foreach loop?
#13

[eluser]Salvatore Formisano[/eluser]
thanks, but how do I get the $result string from my setup?

The one I mentioned is not a string, they come as $_POST, so I have $_POST['354']=1,$_POST['564']=2 etc.

is it worth turning this into a string, then exploding it into an array, then looping through the array and updating the records?

couldn't there be a cleaner solution?

Thanks mate


Messages In This Thread
Issue with database record updating: updating record inside a foreach loop? - by El Forum - 12-16-2009, 06:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB