|
Posted by Flic on 09/11/06 15:39
Hi, I currently have a website that uses an option drop down box to
select different colours for an item before the form it is in is
submitted.
This works fine but as I am trying to advance my skills I decided to
learn PHP to use with SQL which I already know. I have yet to start but
am thinking of how to go about it and looking at some example code. The
whole thing looks easier enough but I was wondering how these option
boxs would fit into it.
I'm thinking one way to possibly do it would be an array with all the
options in. However, would it be possible to have what should be the
contents of the array as part of the table? For eg something like:
Colours
-----------
Blue,black,green
And also would it be possible using these to change the price of an
item? That isn't so important now but may be useful in the future,
although I can make it work another way if need be.
Any help much appreciated!
Thanks
Flic
Navigation:
[Reply to this message]
|