So the framework is CodeIgniter 2.0.2. I have a form that has groups of fields that correspond to rows in a database. The names of the fields are in the format:
Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Tuesday, May 15, 2012
CodeIgniter: Validate form with multidimensional POST data
Wednesday, May 9, 2012
Special characters in REST request
I am developing an API using CodeIgniter, and Phils RESTserver. I am trying to send a POST request containing special characters, but the string is not added to the database.
I need an introduction to MongoDB/NoSQL Database
I use PHP/mySQL/CodeIgniter pretty heavily, writing sql statements to handle/manipulate data. I feel doing all that is primitive, and I've heard good things about MongoDB, schema-less database.
Friday, May 4, 2012
Handling PUT/DELETE arguments in PHP
I am working on my REST client library for CodeIgniter and I am struggling to work out how to send PUT and DELETE arguments in PHP.
Codeigniter - handling errors when using active record
I am putting together a few models for my codeigniter site and can't seem to find any word in the documentation of how to handle errors that could occur when using the Active Record system.
Tuesday, February 14, 2012
special character like " not showing properly in pdf
I using html2fpdf library to generate a pdf in codeigniter .I have some data in a varchar field like " What are your child’s academic strengths? " which is showing like " What are your child’s academic strengths? " .
codeigniter non latin characters ajax call
I have a textarea and a button where i send the text via ajax to the database to post it.
Sunday, February 12, 2012
matching outputted Html buttons with outputted Php/MySQL data
public function dcr() {
$query = $this->db->query("SELECT * FROM church_repo");
foreach ($query->result() as $row) {
$data = array('churchName' => $row->church_name,
'streetAddress' => $row->street_address,
'locationalState' => $row->locational_state,
'locationalZIP' => $row->locational_zip,
'locationalCountry' => $row->locational_country,
'locationalCity' => $row->locational_city,
'overseerAccountId' => $row->overseer_account_id,
'taxExemptionNumber' => $row->tax_exemption_number,
'accountStatus' => $row->status,
);
$this->load->view('admin-request', $data);
}
}
Friday, January 13, 2012
Do I need to write a custom session class for CodeIgniter?
I cannot seem to get CI's session library to function the way I want it to. Essentially, I am storing 2 different categories of data within the sessions. The data within the 2 categories may contain the same value. Right now my attempt to add a key => value pair to the session is failing, as it is only allowing 1 key => value pair to be associated with the array. It overrides itself each time I do a post.
Thursday, January 12, 2012
Keep form values after page reload - Codeigniter
How can I keep checkboxes selected after the form has been submitted? I found the set_checkbox function in the Codeigniter User Guide, but it doesn't work.