Is it possible, to use a dynamic value inside a SELECT FROM sql command?
Database->prepare("SELECT bomb FROM ? WHERE id=?")
->execute($strTable,$strID);
result:
Fatal error: Uncaught exception Exception with message Query error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near…
Assuming
$strTableis from a safe source just use