Good morning, I have a problem with mysql and coeigniter 3. if I request data with
$ query = $ this-> db-> query ($ queri_str);
it does not give me results. if I enter the query on phpmyadmin it shows me two results.
$ queri_str = 'SELECT * FROM `my_table` WHERE` id_mytable2` = "'. $ id_name. '"';
The database tables were created with mysql workbench and automatically the reference to the main table with a 1: n ratio was added
dataFROMci_sessionsWHEREid= '58e5j0m5bqrs7hk8suokko28hj7ni0v6'