1

Anyody knows how to get array of post inputs from ajax to CodeIgniter?

E.X.

<input name="city[]" value="xxx">
<input name="city[]" value="yyy">

2 Answers 2

2

Here is a similar question and solution for multiple fields posting using jQuery Ajax.

How to pass multiple checkboxes using jQuery ajax post

Hope this helps you. Thanks!!

Sign up to request clarification or add additional context in comments.

Comments

1
$this->input->post("city");

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.