[eluser]cpass78[/eluser]
Hello, my first post so please bare with me here.
I have been using CI for some weeks and building an app that is pretty extensive in nature but that i cannot go into to much detail on sadly, however I'll explain my issue.
I'm building out forms that are actually "surveys" with everything relating to the form except the HTML being pulled from the db. My issue is that these forms are required to display 5 questions per page so basically i need to:
query 5 rows in the db
display those results in the form
fill out those Q's
hit the next button
load the next 5 and repeat
I'm not sure how to properly set my offset in the url, or wherever to be able to know how to get the next results and how to know when there are less than 5 to change the next button to a submit button.
Sorry if i am vague but I'll be happy to answer any questions you have.
Thanks so much