Welcome Guest, Not a member yet? Register   Sign In
function() + mysql problem
#4

[eluser]danmontgomery[/eluser]
Actual solution: Don't make database calls in views
Technical solution:
Code:
function users($str) {
    $CI =& get_instance();
    $query = $CI->db->query('select * from bw_users where id="'.$str.'"');
    // etc
}


Messages In This Thread
function() + mysql problem - by El Forum - 09-16-2010, 05:21 AM
function() + mysql problem - by El Forum - 09-16-2010, 08:08 AM
function() + mysql problem - by El Forum - 09-16-2010, 08:16 AM
function() + mysql problem - by El Forum - 09-16-2010, 10:25 AM
function() + mysql problem - by El Forum - 09-16-2010, 11:54 PM



Theme © iAndrew 2016 - Forum software by © MyBB