Bible Database MySQL?

4 replies
  • |
Anyone know where I can find a Christian Bible MySql? I'd like to install it in my website?


#bible #database #mysql
  • Profile picture of the author SteveJohnson
    I don't know if there's one available - most of the modern Bible versions are copyrighted. And then there's the question of which version you want.

    The easiest way might be to use

    The 2nd Amendment, 1789 - The Original Homeland Security.

    Gun control means never having to say, "I missed you."

    {{ DiscussionBoard.errors[9556583].message }}
  • Profile picture of the author johncalkovich
    You can also use $modx->query('YOUR SQL HERE') which returns an array of the results, which may be easier to incorporate into your code while using the existing connection to MySQL.

    When developing snippets it's typically better to use a single return instead of echo-ing data to the screen. You do have a lot of echo-ing going on, so it may be easier to leave it as-is for now, unless you're going all-in for refactoring If you are, also consider using chunks for the html parts with placeholders as to split markup and logic.
    {{ DiscussionBoard.errors[9558786].message }}

Trending Topics