Welcome Guest, Not a member yet? Register   Sign In
Codeigniter, mysql, ajax enroll
#1

[eluser]jacobson[/eluser]
Hello, i want to build enrollment script on my site. In foreach loop i have links generated with its own id. When user hits one link (it has onclick function which loads ajax function) he starts the ajax function witch add data (the userd id from session, and the "link" id ) to the database. (it will enable to recognise whether the users has enrolled into event or not). I already know that I have to create in the view file the ajax script but I know also that it has to process the data to the database through the model, so I have to operate on model from my view.

I dunno if my thinking is right, anyone mabe know the best solution and could provide some informations Tongue




Theme © iAndrew 2016 - Forum software by © MyBB