Welcome Guest, Not a member yet? Register   Sign In
feedback on code (upload library)
#5

[eluser]PhilTem[/eluser]
You might also remove all fields named "image<int>" and make a new column called "images" where you store all images in a json_encode'd or serialized array. Then the looping is even easier than mentioned by @boltsabre.

May a row be updated every once in a while or is it created once and never changed? With the latter case it's pretty easy to change your code, otherwise it's a bit more work, but not too much either.
Scream if you need help Wink


Messages In This Thread
feedback on code (upload library) - by El Forum - 05-10-2012, 08:53 AM
feedback on code (upload library) - by El Forum - 05-15-2012, 06:24 AM
feedback on code (upload library) - by El Forum - 05-15-2012, 06:46 AM
feedback on code (upload library) - by El Forum - 05-15-2012, 06:50 AM
feedback on code (upload library) - by El Forum - 05-15-2012, 08:44 AM
feedback on code (upload library) - by El Forum - 05-16-2012, 12:23 PM
feedback on code (upload library) - by El Forum - 05-16-2012, 12:50 PM
feedback on code (upload library) - by El Forum - 05-16-2012, 11:11 PM
feedback on code (upload library) - by El Forum - 05-17-2012, 06:52 AM
feedback on code (upload library) - by El Forum - 05-17-2012, 09:47 AM



Theme © iAndrew 2016 - Forum software by © MyBB