on-internet
← Community

Why do two form fields with different ids but the same name only submit one value?

Stack Overflow ·

I want to select all data from my database between my two datepickers. Kindly help me on how to use BETWEEN AND statements in this situation. I pick a date from the first datepicker and then the data shows, but when i pick a date on 2nd date picker the data of the date from the 2nd date picker is only shown the first one is gone i used this query $this->db->where('date_sold >=',$this->input->post('selectdate')); $this->db->where('date_sold <=',$this->input->post('selectdate2')); but i only get 1 data.. <span>Select 1st sem:</span> <div id="datetimepicker1" class="input-append date"> <input dat

Comments

Sign in or sign up to comment and upvote.

No comments yet.