0

Is there a reason why this line doesn't work ?

$query = $pdo->prepare('DELETE FROM ___'.$arr['table'].' WHERE '.$arr['prefix'].'_Id=:id');

It should give me :

DELETE FROM ___Blog WHERE BLG_Id=7

I'm trying to built a query based on datas received.

Thanks.

Ross
  • 45
  • 4

0 Answers0