This question already has an answer here:
- mysql select query within a serialized array 12 answers
I have started work on a project that someone else created, this is what he has done:
In a mySql table he has a TEXT field called "allData", in that field he has serialized records that look like this
a:13:{s:12:"currencyCode";s:3:"SEK";s:11:"senderEmail";s:18:”xxxxxgu7@gmail.com";
s:4:"HASH";s:32:"ebdeb85d094cefd102b630fa9e69d9ca";}
(There's a lot more data but I cut it down by around 95% so it would not mess up this page)
Any idea how I can search the above data for senderEmail or HASH?
</div>