Jump to content

Archived

This topic is now archived and is closed to further replies.

kruzayn

Best way to offer specific item info

Recommended Posts

I have a PDF right now that is 400 pages long. It contains advanced item information. On an ecommerce website i want to link to the product info of only the product that is being looked at and not all 400 pages. I am willing to do the work to make it easier, but creating 400 individual html files isnt what i want to do. What is the best way to do this with PHP/MySQL.

Thanks for any feedback, i really appretiate it.

Kruzayn

Share this post


Link to post
Share on other sites
There's not going to be an easy way to do this unless you can programatically grab the information out of the PDF and stuff it into a database. You're still going to have to go through the content and do formatting and so on. My suggestion is to create a table for "topics" or "products" or whatever you want to call them. Put the content for each item in a seperate record and then create one page that pulls the correct information out of the database. If the layout for each item is similar, you can leave most of the formatting to the one PHP page and seperate your product content into various fields (item number, serial number, description, etc) and format it as you pull it out of the database.

I don't know what you're looking for as far as a specific answer, so I hope that helps.

Share this post


Link to post
Share on other sites
I would recommend that, when user selects an item, you create the PDF page for that item "on-the-fly" using something like FPDF

EDIT : As Ober, who types faster than me, said.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.