Butters
27 Apr 2004, 6:05am
I'm trying to set up a shopping cart, (it is actually for a quote system) that is using a PHP array to set the forms. However, I do not want to use a database and I want everything to be PHP based.
The problem is that I want to display values for a particular product. That is, the 'ID' and the 'NAME' of the produt.
Currently I am able to show the ID, because the form uses this value.
I want to be able to have the product NAME show up too.
Here is the link to the testing site (http://www.cozworth.com/testing/htdocs/tpi.php)
I've tried to create a hidden field that will show the corresponding NAME to the selected ID, but I am unsuccessful.
Is there anyway I could have the 'ID' and corresponding 'NAME' show up in form?
The problem is that I want to display values for a particular product. That is, the 'ID' and the 'NAME' of the produt.
Currently I am able to show the ID, because the form uses this value.
I want to be able to have the product NAME show up too.
Here is the link to the testing site (http://www.cozworth.com/testing/htdocs/tpi.php)
I've tried to create a hidden field that will show the corresponding NAME to the selected ID, but I am unsuccessful.
Is there anyway I could have the 'ID' and corresponding 'NAME' show up in form?