Jump to content

Best way to offer specific item info


kruzayn

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
Link to comment
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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.