Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8750695
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T12:54:42+00:00 2026-06-13T12:54:42+00:00

Basically I am using codeigniter and have LOTS of fields in each row for

  • 0

Basically I am using codeigniter and have LOTS of fields in each row for a database table.

(for this example I’ll pretend its a blog entry with just title/postbody but thats only to keep it simple)

I know i could manually code in something like this:

(psedudo code)

if (!$submitted) {
   $data = get_existing_data_from_db();
$showform=true;
}
if ($submitted) {

   if (process_and_save_data_if_all_valid_data()) {

       echo "done";

   }
else {

$data = get_data_from_submitted_data();
$showform=true;

}

}


if ($showform) {

echo "<form>";
echo "<input type='text' name='title' value='{$data->title}' />";

}

but is there any CI class or library that would let me do something more along the lines of this (again, pseudo code)

$fields_to_edit = array('title','postbody');
$this->form_helper->edit_table_with_fields('posts', $fields_to_edit);

and the form_helper thing would automatically validate (obviously id set the rules) + show the form to the user, and save it (update mysql) if all correct

does something like this exist for code igintor?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T12:54:43+00:00Added an answer on June 13, 2026 at 12:54 pm

    This form builder may make things easier for you. http://formigniter.org/

    I think what you’re looking for is a “codeigniter CRUD generator”, just Google this and you will find quite a few. Picking one is up to you. Example 1, Example 2…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using CodeIgniter, and basically a PHP noob. So I have this table
Basically I have two controllers using CodeIgniter for a simple blog for a project
I have a question about PHP foreach loops. I'm using it in Codeigniter. Basically
What's the best practice to do this? Basically I am using rabbitMQ and it
Basically what I'm trying to do is have a picture rotate using mouse events.
using CodeIgniter normally one has to specify the controllers in the config/routes.php file. This
How do I create a directory using codeigniter? Basically what I am trying to
I am using codeigniter php MVC framework to develop a web application. I have
Basically using a list structure, I'm trying to make each li sortable within it's
This is how I understand the Codeigniter directory structure to operate. I am using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.