I'm a bit new to codeigniter and I'm trying to run this simple query:
DESCRIBE `table_name`;
I tried this:
$sql = 'DESCRIBE ?';
$desc = $this->db->query($sql, $table)->result();
Which creates this query:
DESCRIBE 'table_name';
As you can see, the wrong quotes are being outputted when I bind the $table variable; they are value quotes ('), not table quotes (`). Am I doing this wrong?
thank you!