277 Topics

Member Avatar for
Member Avatar for anmol.raghuvanshi1

Ok , i just have doubt and need suggestions for this.I have multistep form.What i am doing now that i am saving step-1 and step-2 data in session and in the last when user clicks on register all data saved in sessions will passed to database and inserted there.Now i …

Member Avatar for cereal
0
812
Member Avatar for shany0786

Question is not new but i can't make it work.I have registration form along with user registration form i also have a upload picture options.These are views // view for user data <form action="<?php echo base_url('Camping_register/register') ?>" method="post"> <h2>Camping <span class="red"><strong>Rent Details</strong></span></h2> <label for="business_name">Business Name</label> <input type="text" id="business_name" name="business_name" placeholder="enter …

Member Avatar for diafol
0
966
Member Avatar for anmol.raghuvanshi1

This is opinion based question. I am working in Codeigniter framework I have multi-step user registration form What i am doing is collecting all data in session array validating it and inserting in database.Till now all things are working fine but now i have added image upload form along with …

Member Avatar for diafol
0
4K
Member Avatar for Randy_2
Member Avatar for diafol
0
55
Member Avatar for Ventech_IT

Hi Everyone, I need some advice...i am building a website for a client and would like to integrate a feature where when he creates a new blog post on the site a link to that post is sent to all his social media platform how would i go about doing …

Member Avatar for diafol
0
263
Member Avatar for anmol.raghuvanshi1

I am trying to populate dropdown with database what i am actually trying to do i have 3 drop downs country ,state and city and i want if user select any country crossponding states are shown in dropdown and crossponding cities releated to state are shown in city dropdown.I don't …

Member Avatar for anmol.raghuvanshi1
0
373
Member Avatar for AntonyRayan

Can any one tell me ? which framework is easy to learn and configure. And Which one is best codeIgniter or Zend or CakePHP or any other?

Member Avatar for AntonyRayan
0
119
Member Avatar for anmol.raghuvanshi1

I am trying to intergrate the jquery tokenInput plugin to my form [Link](http://loopj.com/jquery-tokeninput/) I want to simple local data search I want data to be fetched from database and show it in input box with multiple options as in demo However this code works for me it displays the result[i …

Member Avatar for anmol.raghuvanshi1
0
884
Member Avatar for anmol.raghuvanshi1

There is long registration form I have one auto-complete box like StackOverflow tag bar will have multiple tags of country. Now I want without redirecting to another page or any thing else. I want names of country to be displayed from database. I am successful in displaying without database like …

Member Avatar for anmol.raghuvanshi1
0
256
Member Avatar for shany0786

function getImage() { $session_data = $this->session->userdata('sessiondata'); $id = $session_data['user_id']; $this->db->where('user_id',$id); $r=$this->db->get('tbl_usrs'); if($r->num_rows()>0) { foreach ($r -> result_array() as $row) { $data[] = $row; } } $r->free_result(); return $data; //print_r($data); }} //class ends hello everone i am new to php codeigniter while displaying image from database i am getting error Severity: …

Member Avatar for cereal
0
165
Member Avatar for anmol.raghuvanshi1

I get sick in finding error in my code i want to display a image from database having field profile_picture which has value like upload/large/imagename.jpg but i can't able to display it main thing is nothing is printed when i echo or print from controller when i view page source …

Member Avatar for anmol.raghuvanshi1
0
183
Member Avatar for anmol.raghuvanshi1

hello, I want to store image path in database along with image name like /uploads/profilepic/name.jpg. what happening is only path is beinged saved not image name like field in my table prfile_picture has updated /uploads/profilepic/ but i want image name also after trailing slash so that i can retrieve that …

0
126
Member Avatar for anmol.raghuvanshi1

hello,everyone i am trying to access user id from database in session data but no success till now?? //Controller function upload() { $user_id = $this->session->userdata('user_id'); //set preferences $config['remove_spaces']=TRUE; $config['encrypt_name'] = TRUE; // for encrypting the name $config['upload_path'] = './upload/'; $config['allowed_types'] = 'jpg|png|gif'; $config['max_size'] = '10248'; //load upload class library $this->load->library('upload', …

Member Avatar for lps
0
2K
Member Avatar for Ventech_IT

Hi i am currently building a admin section for my website but i am stuck at a certain point, right now my user authentication is working and my form validation is working great, when i log in as admin i want it to display the admin dash and when a …

Member Avatar for diafol
0
267
Member Avatar for Ventech_IT

Hi for some reason i keep getting a parse error when i try to load my view could someone tell me why it says unexpected end to file on line 20 <section id="login-landing" class="block block-gray"> <div class="container"> <div class="card card-container wow zoomInUp animated"> <a href="<?php echo base_url()?>"> <img id="profile-img" class="profile-img-card" …

Member Avatar for lps
0
282
Member Avatar for iamthwee

Hi guys, It gives me great pleasure to announce that I will be collaborating with fellow Daniwebber Veedeo in creating a fully baked, no nonsense CMS in Codeigniter. I will be overseeing the overall look and feel, PHP and jquery. I will need to discuss how the CMS is licensed …

Member Avatar for edbr
7
1K
Member Avatar for Ventech_IT

Hi guys i have simple captcha that seems to working but the only problem i have seems to be with the callback function on the validation have a look at the captcha: function index() { $this->load->helper('captcha'); $this->load->library('form_validation'); //Input field, Friendly name, Attributes $this->form_validation->set_rules('name', 'Name', 'trim|required'); $this->form_validation->set_rules('email', 'Email Address', 'trim|required|valid_email'); $this->form_validation->set_rules('number', …

Member Avatar for cereal
0
2K
Member Avatar for Ventech_IT

Hi all okay so when i click on my home page on my login button it takes me to my login screen that all works well but when i submit the form it just reloads the page and does not redirect to the page specified in my controller. Also the …

Member Avatar for diafol
0
292
Member Avatar for praba_web

I am creating webinar project in codeigniter.How can I create live video streaming to be used for live video conferences/chatting in a PHP application.?

Member Avatar for diafol
0
1K
Member Avatar for praba_web

Hi there, I follow this tutorial for my web app. link: http://www.thesoftwareguy.in/creating-multi-user-role-based-admin-using-php-mysql-bootstrap/#comment-4583 Can anyone give me idea to do this same app using codeigniter.? Thanks.

Member Avatar for diafol
0
1K
Member Avatar for murugami eric

am using ci 2.1.4 to create a simple crud application being new to ci and am having this error:'Unable to load the requested class: validation' here is my controller code: class Person extends CI_Controller{ //num of records per page private $limit = 10; public function __construct(){ parent::__construct(); //load library $this->load->library(array('table','validation')); …

Member Avatar for tapfumamanhanga
0
3K
Member Avatar for MtR_1

> while updating my form it retrieves all info from db in respective field but unable to display values in dropdowns > this is my controller for update function update($a_id) { $data['a_id'] = $a_id; $data['sector'] = $this->sf_model->get_sector(); $data['subsector'] = $this->sf_model->get_subsector(); $data['type'] = $this->sf_model->get_type(); $data['view'] = $this->sf_model->get_account_record($a_id); $this->form_validation->set_rules('a_name', 'Account Name', 'trim|required|xss_clean|callback_alpha_only_space'); …

Member Avatar for diafol
0
249
Member Avatar for Ventech_IT

Hi guys i have simple problem that i can't seem to solve and has been frustrating me for some time i am a newbie when it comes to Codeigniter so be kind hahah, okay so on to my problem i have form validation on a subscription form that seems to …

Member Avatar for lorenzoDAlipio
0
391
Member Avatar for jithinjohny

Hi, Previously I have worked on codeigniter Framework. Since codeigniter developers are not even sure about version 3.0 , I decided to work with a better/new framwork. The problem is, whichever the Framework I choose, it needed Composer to work on. First I choose laravel, then symfony , later cakephp. …

Member Avatar for jithinjohny
0
267
Member Avatar for Ventech_IT

Hi guys having some trouble here with my date's output currently it reads 2015-05-05 10:05:22 but i would like to have it render as eg. Monday 12 Mei 2013 how would i achieve this in codeigniter? Here is my code for creating the post: (Controller) public function new_post(){ if($_POST){ $data …

Member Avatar for Ventech_IT
0
341
Member Avatar for Israel_2

So I have this simple query that if I run it on sql server management studio it gives me results. Select name, count(*) As thecount from Restaurants group by name I am using codeigniter and a wrapper library for datatables called [ignited datatable](https://github.com/IgnitedDatatables/Ignited-Datatables/wiki/Function-Reference) . I am using it because its …

0
265
Member Avatar for chaitu11

I am using codeigniter if ($this->form_validation->run() ) always returns false. please help me out with this Here is my controller and view page as shown bellow This is controller admin.php <?php defined('BASEPATH') OR exit('No direct script access allowed'); class Admin extends CI_Controller { public function index() { $this->login(); } public …

Member Avatar for chaitu11
0
4K
Member Avatar for Ventech_IT

Hi guys Just a quick question...I have recnetly created a contact form for my site in codeigniter and the email sends and all that but i seem to have a problem getting the $_POST data to display in the message body. After my validation is done and the form gets …

Member Avatar for Ventech_IT
0
313
Member Avatar for Anuj877

I am using the Html2pdf(dompdf) library for codeigniter,Its working fine but i cannot get images in pdf files. this is the url where i download the library. https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&uact=8&ved=0CCgQFjAB&url=https%3A%2F%2Fgithub.com%2Faiwmedia%2FHTML2PDF-CI&ei=wijjVID8GIqWuATqnYBY&usg=AFQjCNFGnkCMd1t5K55fApAyeca4dCE-mQ&sig2=-ix5k0Vhj81f6BkzIY5pPQ&bvm=bv.85970519,d.c2E

Member Avatar for cereal
0
2K
Member Avatar for riwakawd

When I or user logs on it checks what permissions it has. And then on a form if has not got permission throws error. Example: <?php class Users_groups extends CI_Controller { public function update() { if (($this->input->server('REQUEST_METHOD') == 'POST') && $this->validateForm()) { // Modal stuff } } public function index() …

Member Avatar for riwakawd
0
259

The End.