Hello all,
I am currently revising a site for a client,
He has all of his product tables in HTML, not in a MySQL Database. To make matters worse Each type of product comes in 5 different types.
So each row of his tables has Common Product, Common Dimensions, Common Shape, then five different part numbers (for each of the styles)
I have set up a MySQL database with each part# in its own row, that way I can set up some sort of E-Com shopping Cart, yada yada.
What he is requesting is that I leave the tables as they appear now. His reason is that the table is 600 rows long now with 5 Part# in each. So retrieving records from the database would result in a 3000 row table. I would like to leave these tables alone just add a link to a detail page with a GET statement. No problem right.
link set to "detail.php?partnum=10101"
The detail page has the add to cart and stuff like that. Thats not the problem, it works.
The problem is I have to type that for 3000 table records.
My question;
Is there a way in PHP/HTML to extract the text in the HTML table cell? I want to be able to set all the items to:
"detail.php?partnum=<?php extracttext ?>"
Any help or guidance would be awesome.
Thanks,
Shanis