I am trying to use a SELECT statement to call in some information.
CODE: $qry = $this->EE->db->query('SELECT col_id_1, col_id_2, col_id_3 FROM exp_matrix_data');
I get this error when I try to use the data:
A PHP Error was encountered Severity: Warning Message: mysql_num_rows() expects parameter 1 to be resource, string given Filename: libraries/Functions.php(680) : eval()'d code Line Number: 1552
So... my question is, Can I not use the 'SELECT Statement' like this in EE ?