ANSWER FOUND: I am reading all and deciding, THANK YOU SOO MUCH hahaha 😀 I <3 stackoverflow
I apologize for the vagueness of this question and the lack of research, but I really had no idea how to google this question.
I am passing a bible verse and bible chapter into a page that takes it and pulls the verse from the bible db likes this
?book=Genesis&chapter_number=1&verse_number=1
But what I want to be able to do is send in multiple verses separated by a “-“
like this:
?book=Genesis&chapter_number=1&verse_number=1-2
I don’t really know how this would work. Any ideas?
This works. It allows you to give a range of verses like
1,3,4-10. It’ll return the whole chapter if no specific verses are given.[edit]
Made some minor changes, removed the typo’s and actually run the script to test it. 🙂