I'm having trouble with pdo->prepare in mysql, heres the query:
$stmt = $this->pdo->prepare("SELECT * FROM :tabletype where name like :name");
Its parsing as
SELECT * FROM 'type1' where name like 'souza'
its ok with the name string but the tabletype its not working with quotes, is there a way to make it work without the quotes ?
Thanks