Trying to use this query to get the data using the mysql
$this->db->select("ii.id,oi.user_id as uid,oi.id as oid")->from("order_info oi")->join("iform_info ii","oi.id = ii.order_id")->where("oi.order_no",$id)->get()->row_array();
I was thinking something like this
SELECT * FROM `order_info` JOIN(iform_info) WHERE `order_id` = '1'