I am using PHP and Javascript together to code an e-commerce website. Javascript is used to change a main image as well as to change an item that will be added to the cart when clicked add to cart. I have gotten everything to work except for the Javascript to change the Item name, description, and price. Here is what i want the page to look like in the end:
[URL=http://www.robbailer.com/C.J.%20Laing/home.htm]Example Page
There is an admin page where the Name, Description, and Price are being stored. The variables that they are being stored in are. $itemname, $description, and $price. I am trying to use these variables to display the text on the page.
The page right now looks like this:
[URL=http://www.cjlaing.com/home/frmLstItems.php?category=1]New Page
I have attached what I think are the right amount of files to solve this. If you need something else, let me know. THanks soo much!
[upl-file uuid=1865ab5c-b98f-49aa-8596-e4d14382ef4b size=2kB]files.zip