Hey guys i need a script with search value from mysql table i try to make some but i don't have knowledge to write this script...
I know how will sound this .. but i need this script for lotto ) the extraction is 20/80 numbers (1,2,3,4...80) and i need to know the combination number probability .

Here is my tabel structure

http://imagizer.imageshack.us/v2/800...0/607/32wo.png


And this is how i thought this script must look

http://imagizer.imageshack.us/v2/800...0/844/p1tv.png