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 8443477
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T09:08:58+00:00 2026-06-10T09:08:58+00:00

I tried everything to get this code below to work with codeigniter. $arrival_date =

  • 0

I tried everything to get this code below to work with codeigniter.

$arrival_date = $_POST['arrival_date'][$re_id]

Here’s what I do it in codeigniter:

$arrival_date = $this->input->post('arrival_date'[$re_id]);
$arrival_date = $this->input->post('arrival_date')[$re_id];
$arrival_date = $this->input->post('arrival_date[$re_id]');

All the above three code failed.

Anyone know how to do this in codeigniter?

  • 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-10T09:08:59+00:00Added an answer on June 10, 2026 at 9:08 am
    $x = $this->input->post('arrival_date');
    $arrival_date = $x[$re_id];
    

    If your array in the form looks like name="arrival_date[re_id]", then

    $arrival_date = $x['re_id'];
    

    I could help more if you would show the form too.

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

Sidebar

Related Questions

I tried everything to get this code working, and I hope someone will save
Cant get this script to work with my menu really have tried everything any
Ok, I've tried about near everything and I cannot get this to work. I
I can't get my dojo working. I've tried everything. Here is the code: <!DOCTYPE
I've been trying to get this code to work for hours! All I need
This might get a little confusing as I have tried everything to make this
I tried everything to debug this one but I can't get to the bottom
I've searched all over and tried everything but I still get: invalid multibyte char
I've tried everything and it still fails! What's wrong with this code?!?! I wanted
I've tried everything I can think of and can't get anything to work. I

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.