-2
Speak people, what risk would I take if someone wanted to give an insight into this example:
$valorGet = $_GET["valor"];
$sql = "SELECT * FROM tabela WHERE caminho = '$valorGet'";
My question is, can the guy delete (DELETE) or insert (INSERT) something into my database? Or just give another type of SELECT?
There is a need to do an antijection with PDO in this case to increase safety?
I know you can do an Injection, but my question was if my bank is in any risk, because I’m only doing a SELECT, it would have to give a DELETE or INSERT?
– caiocafardo