Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
1
Downvoting Members
2
0 Endorsements
~14.6K People Reached
Favorite Forums
Favorite Tags
Member Avatar for Nabeel_2

on localhost add to cart is working fine $config['sess_cookie_name'] = 'ci_session'; $config['sess_expiration'] = 7200; $config['sess_expire_on_close'] = FALSE; $config['sess_encrypt_cookie'] = FALSE; $config['sess_use_database'] = TRUE; $config['sess_table_name'] = 'ci_sessions'; $config['sess_match_ip'] = FALSE; $config['sess_match_useragent'] = TRUE; $config['sess_time_to_update'] = 300; CREATE TABLE IF NOT EXISTS `ci_sessions` ( session_id varchar(40) DEFAULT '0' NOT NULL, ip_address varchar(45) …

Member Avatar for Nabeel_2
0
587
Member Avatar for Nabeel_2

view: <?phpforeach($row as $b):?> <?php echo $b->Product_Name ?></h3> <?php echo $b->Price ?></p> </div> <?php if ($b->Option_name):?> <?php echo form_label($b->Option_name, 'option_'.$b->Product_ID ); ?> <?php echo form_dropdown( $b->Option_name, $b->Option_value, NULL, 'Product_ID= " option_' .$b->Product_ID. ' " ' );?> <?php endif; ?> controller: public function product_detail($Product_ID){ $this->load->model('model_products'); $data['row']= $this->model_products->get_detail($Product_ID); $this->load->view('product_detail',$data); } model: function …

Member Avatar for pzuurveen
0
6K
Member Avatar for Nabeel_2

$(".qty").change(function(){ $.each($('.qty'), function(){ var form_data ={ rowid: $('.rowid').val(), qty: $('.qty').val(), ajax: '1', }; alert(form_data); $.ajax({ url:"<?php echo site_url('cart1/update');?>", type:'POST', data: form_data, async: false, success: function(data) { alert(data); } }); });

Member Avatar for Airshow
-2
3K
Member Avatar for daniel36

i am working on codigniter . i am developing basic cms.my view code of generating dynamic pages at front end is <ul id="jsddm"> <?php for ($i=1; $i<=$url['10']['10']['10']; $i++) { ?> <li><a href="<?php echo site_url($url[$i]['0']['slug']); ?>"> <?php echo $url[$i]['0']['page_name']; ?> </a> <?php if($url['11'][$i]['11']>0){ ?> <ul> <?php for ($j=1; $j<$url['11'][$i]['11']; $j++) { …

Member Avatar for Nabeel_2
0
6K