Check boxes into php array

Hey,
I have a series of check boxes and each has a different rating in them. What I need is to put the variable from the selected check boxes into an array that I can then select a random array entry and then prefrom a query, I have tried to figure it out but I just can’t. Could someone please help me with this or at least point me in the right direction. Sorry I can’t supply any code. I tried to start doing it but then realised that I didn’t really know what I was doing. Which is odd because I can put the selected check boxes into a database but not an array.

Thanks heaps!

Thread Closed.

Duplicate of thread: http://www.sitepoint.com/forums/showthread.php?p=4706625#post4706625

Oops this was accidentally posted twice for some reason, Please delete this copy.