MYSQL How to store an array from php? halp?

Last First

New member
So yeah I need to store an array in MYSQL, something like array(3, 1, 5);
but I also want to be able to use the MYSQL SELECT to select a row that contains 1 AND 5 for example.

So should I save the array as a CSV using php implode? If I do that how would I do a select where the array contains 1 AND 5? Since it would be just a string.

Or is there a better way to store an array?
 
Back
Top