I have a query similar to this:
select * from nombre$tabla where valor = 1;
If I run this on my bd engine it works (Oracle), but when I run this from PHP it does not return records, the code in php is sending it like this:
$query = "select * from nombre\$tabla where valor = 1"
$conection = self::DbOracle();
$sql = $conection->prepare($query);
$sql->execute();
$resultado = $sql->fetchAll();
Has anyone done something similar? Obviously I can not change the name of the table
PS: I already try to pass the name of the table as a variable concatenating the string and it does not return values either