August 5, 200917 yr help please i am trying to add an order by member_id desc to the following $sql = "select * from members where username=" . $this->db->escape($username); can you help thanks
August 6, 200917 yr I think the syntax you'll be needing is something like this: $sql = "select * from members where username= '".$this->db->escape($username)."' ORDER BY member_id DESC";
Create an account or sign in to comment