Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~3K People Reached
Favorite Tags
Member Avatar for mohammed_22

I want to get all the related pics corresponding to the pic selected.... here is my view page <?php foreach($detail as $row){?> <img class="primary-image" ima="<?php echo base_url();?>images/<?php echo $row->image;?>" src="<?php echo base_url();?>images/<?php echo $row->image;?>" alt="" /> <?php }?> my control page looks like this.... public function product_details($p_id) { $data['active_mn']='product_details'; $data['product']=$this->roxmodel->get_product_details($p_id); …

Member Avatar for diafol
0
197
Member Avatar for mohammed_22

i want to display all related images according to the image selected here is my code... my control looks like this.. public function product_details($p_id) { $data['active_mn']='product_details'; $data['detail']=$this->roxmodel->get_related_image($p_id,4,0); var_dump($data['detail']); $this->load->view('product_details',$data); } my model looks like this public function get_related_image($p_id,$limit,$offset) { $this->db->order_by("gallery.id","desc"); $this->db->where('category_id',$p_id); $query=$this->db->get('gallery',$limit,$offset); return $query->result(); } my view page looks like …

0
101
Member Avatar for mohammed_22

here i want to display images according to the numbers given here is my view page <div class="limiter hidden-xs"> <label>Show</label> <select> <option selected="selected" value="">9</option> <option value="">12</option> <option value="">24</option> <option value="">36</option> </select> per page </div> my controler section is this public function look_book() { $data['active_mn']='look_book'; $config['base_url'] = base_url().'roxcontrol/look_book'; $config['per_page'] = 9; …

Member Avatar for diafol
0
347
Member Avatar for mohammed_22

hi...iamb struggling with this code please help me my controller is this public function men_clothing() { $data['active_mn']='men_clothing'; $data['men']=$this->roxmodel->get_category_by_parent($p_id=8); $data['kids']=$this->roxmodel->get_category_by_parent($p_id=9); $data['galllery']=$this->roxmodel->get_galleryImages($p_id); } my model section is this public function get_galleryImages($p_id) { $this->db->where('gallery.category_id',$p_id); $query = $this->db->get('gallery')->result(); return $query; } and my view page is this <?php foreach($galllery as $row){?> <!-- single-product start …

Member Avatar for cereal
0
1K
Member Avatar for mohammed_22

hi...iam stuck with this code pls help me here is my controller public function men_clothing() { $data['active_mn']='men_clothing'; $data['men']=$this->roxmodel->get_category_by_parent($p_id=8); $data['kids']=$this->roxmodel->get_category_by_parent($p_id=9); $data['galllery']=$this->roxmodel->get_galleryImages($p_id); } my model looks like this public function get_galleryImages($p_id) { $this->db->where('category_id',$p_id); $query = $this->db->get('gallery')->result(); return $query; /* $this->db->where('gallery.category_id',$p_id); $this->db->select('gallery.*,category.id'); $this->db->join('category','category.parent_id=gallery.category_id'); return $this->db->get('gallery')->result(); */ } my view page look like this …

Member Avatar for mohammed_22
0
225
Member Avatar for mohammed_22

hi...iamb struggling with this code please help me my controller is this .. public function men_clothing() { $data['active_mn']='men_clothing'; $data['men']=$this->roxmodel->get_category_by_parent($p_id=8); $data['kids']=$this->roxmodel->get_category_by_parent($p_id=9); $data['galllery']=$this->roxmodel->get_galleryImages($p_id=10,11); } my model page looks like this... public function get_galleryImages($p_id) { $this->db->where('gallery.category_id',$p_id); $query = $this->db->get('gallery')->result(); return $query; } my view page looks like this... <?php foreach($galllery as $row){?> <img …

Member Avatar for gentlemedia
0
168
Member Avatar for mohammed_22

here is my code and iam not able to do search in that.only the first search box list the data and when i given second search option both results wont come any idea //this is my html code <script> function showUser(str) { if (str == "") { document.getElementById("txtHint").innerHTML = ""; …

Member Avatar for diafol
0
224
Member Avatar for mohammed_22

<script> function showUser(str) { if (str == "") { document.getElementById("txtHint").innerHTML = ""; return; } else { if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp = new XMLHttpRequest(); } else { // code for IE6, IE5 xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange = function() { if (xmlhttp.readyState …

Member Avatar for mohammed_22
0
184
Member Avatar for mohammed_22

haii....i had lot of different school datas and when i want to login into the data i want to get only the specified data according to the username and password..username and password is different for different schools can you please help me thanks in advance and iam waiting for your …

Member Avatar for mohammed_22
0
176
Member Avatar for mohammed_22

after setup file created,i copied my project into other computer but the report is not working on that system,rest all is working properly.i dont have any idea

Member Avatar for mohammed_22
0
114
Member Avatar for mohammed_22

i have a number of values in my database and i want to list only those values which is greater than zero

Member Avatar for mohammed_22
0
137