Yeah its a security leak
basicaly lets say the query is:
"select id,title from cd_info where" and after this comes the stuff from the URL, and what they do is have javascript make the end of the query depending on the fields that were filled out like this " image_id=20" so end is the only one u can modify. so can i add another SELECT or DELETE statement at the end of the query since the query is been passed through the url, looking to make something like:
SELECT id,title from cd_info WHERE image_id=20; DELETE * from cd_info;
basically i wanna make a sub query in there
can someone show me how to write it? I am pretty sure mysql doesnt do it, but maybe SQL does?