Need help with php code!
Posted: Fri Apr 01, 2011 1:50 am
Hello everyone,
Before I start, please forgive me if this seems simple to you. I am new to php and mysql.
I am setting up a e-commerce site and so far it is going very well but I have now hit a bit of a road block and need some help.
Two questions really. I have created my own simple CMS so I can load up html product pages without having to create new product pages!
1, In the CMS how do I have the option to place a drop down with 3 different colours. For example product 1 has 'black and 'white' whereas product 2 only has 'Brown' and product four has 'yellow and pink'. How would I in the CMS be able to write code that the admin could choose these for the specific products.
2, How would I go about having a size and colour drop down on an item and how would that work with php?
How would all of this work together?
Thanks for any help that I get!
Ben.
Before I start, please forgive me if this seems simple to you. I am new to php and mysql.
I am setting up a e-commerce site and so far it is going very well but I have now hit a bit of a road block and need some help.
Two questions really. I have created my own simple CMS so I can load up html product pages without having to create new product pages!
1, In the CMS how do I have the option to place a drop down with 3 different colours. For example product 1 has 'black and 'white' whereas product 2 only has 'Brown' and product four has 'yellow and pink'. How would I in the CMS be able to write code that the admin could choose these for the specific products.
2, How would I go about having a size and colour drop down on an item and how would that work with php?
How would all of this work together?
Thanks for any help that I get!
Ben.