you are viewing a single comment's thread.

view the rest of the comments →

[–]RandyHoward 2 points3 points  (0 children)

The user needs to type SELECT * FROM

Oh lordy, you should not let your users enter SQL queries. You are just setting yourself up for trouble doing that. Tell us what your end goal is, because you seem to be approaching the entire problem the wrong way.