How to convert PHP array into Mysql resource

dmarjos

New Member
I have the following scenario. I must run a query and then save it to memory, and if I need the same result again to obtain it from memory.Storing and reading from memory is made with memcache. The problem is that if you hold information in an array one at a time just have to treat two cases: 1 for resource type and one for array type.The question is if I can convert an array to Mysql resource type.Thanks.
 
Back
Top