Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Bibtex/Latex and PHP
05-16-2011, 05:40 PM #1
- 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?
05-16-2011, 05:47 PM #2
- 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