[solved]Problem whit like - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: [solved]Problem whit like (/showthread.php?tid=26075) |
[solved]Problem whit like - El Forum - 01-05-2010 [eluser]tnathos[/eluser] Hi, i have the next problem.. i exec this query direct to the db. SELECT `titulo`, `media`, `id_proceso`, `ciudades`, `tipo_media` FROM (`prm_promociones`) WHERE `estado` = 1 AND `titulo` LIKE '%q%' LIMIT 21 and works fine... return 2 rows. BUt when exec the same query in CI.. dont show me records in the view.. so i delete from the sentece the LIKE.. and show in CI records.. any? thanks //problem solved.. in the view for any reason dont print when the count rows = 2... |