hello guys
here is another newbie question , i am learning and really improved , a bit slow but now i am doing good with classes and i live to use class::soemthing , and the define function
my question is
if i have a function like this
function selectfromtopics($thedbquery) {
do whatever
}
i am going to connect to database , select topics (db table) and EXECUTE the query
can the hackers use the below php code from outside my server
dbclass::selectfromtable(badbadquery);
i think they can use include to get my file , then run the bad query