ok... I'm working with a table in a database that consists of an ID number and a blob field.
each entry of the blob field is populated with a gigantic multi-dimensional array that's been serialized.
no - i didn't create this monster
There are some pieces of data in each entry that I need to replace... but I'm not sure of the best way to do this with a 100% guarantee that all data will be modified correctly.
Within each serialized multidimensional array there will be several chunks similar to this:
<a href=\"javascript:stockCheck(\'DGP-100L-1\')\">DGP-100L-1</a>
the values within the (\' and \'), along with the values between \"> and </a> are always different.
I want to pull that whole chunk out, throw the value from between the \"> and </a> into a different table, and replace the chunk with something along the lines of DB_PART_NUM('$id')
I'm a little unsure of the best way to do this to all entries in the db in one fell swoop - there's a lot of them
any suggestions as the best route to go?
Thanks.
-=Lazz=-