Have you seen the Scripturizer in PHP? It hardcodes just about everything, but it appears to be robust enough to handle different formats.
For example, you can use "1st Peter 5:6-8" or "I Pet 5:6-8" and it should parse it correctly.
Have you seen the Scripturizer in PHP? It hardcodes just about everything, but it appears to be robust enough to handle different formats.
For example, you can use "1st Peter 5:6-8" or "I Pet 5:6-8" and it should parse it correctly.
I have a Bible database that looks up a given Bible verse...well...in theory anyways. The pages are written in PHP and I was hoping there was someone out there who already had a function top parse a given Bible verse ready to go...(?)
If its in another language thats fine too...I know a bunch of 'em...
It has to be able to take user input like "1 Peter 5:6-8" and parse out the Book, Chapter, and Verse(s)...
Stampybean!