Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    May 2011
    Thanked 0 Times in 0 Posts

    Bibtex/Latex and PHP

    does anyone have experience using Bibtex with PHP? I am working on a project where I must generate bibliographic entries in Bibtex formats on a page using information from a database.

    Any way to do this?

  • #2
    Codeasaurus Rex
    Join Date
    Jun 2008
    Redmond, WA
    Thanked 100 Times in 94 Posts
    I don't believe there is any native way (built into PHP) for you to simply pull information from a database, feed it to a function, and be done with it.

    You can do one of two things.

    A) Try to obtain a pre-written class in PHP


    B) Code your own

    If you choose option B, you're basically going to be pulling information from your database and then using PHP's string functions to format it the correct way.

    If you need help on any particular problem, or encounter a problem while coding, please post back your specific questions.
    Unless otherwise stated, any code posted is most likely untested and may contain syntax errors.
    My posts, comments, code, and suggestions reflect only my personal views.
    Web Portfolio and Code Snippets: http://shanechism.com


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts