I am Learning so

Can suggest some code.

How can i add Multi select Box in Codeigniter.

Thank You

Recommended Answers

All 3 Replies

then how to get value in controller..
like this: $this->input->post('shirt')??

$shirts = $this->input->post('shirt');

foreach($shirts as $shirt){
    echo $shirt;
}
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.