On facebook many of you probably know of there API which uses there own FQL (facebook version of a mysql query)
I am curious, how could I support my own user submitted queries in the same manner on my site?
Do you basicly pass in the custom query into a function, in the function you just use regex to match SELECT from ect?
Hope my question makes sense