I am very new to CodeIgniter, which has been very hard for me to learn so far. I mostly never work with frameworks and this is my first time.
I understand MVC but I really don't know how to create a search, even just a basic one: I just want someone to send a word in an input and search it in my database (with Ajax or not) and give the answer back. Could anyone help me with some ideas for how I should proceed? I understand that in the view I will put my divs, inputs and more, and in the controller I will call my functions that will interact with my model. I'm struggling with how to integrate them on CI though because the view is actually filled via the controller and I believe I can't use the functions of from it in the view.
Any help please?