ok i want to create a page where i have a few groups of radio buttons and a few groups of check boxes, a computer configurator basically. i'm new to pgp/mysql but i'm sure i can get the result i want which is something like the alienware website.

i have product info in the database...and need to create a page from that. should i generate the page using php and the database or should i manually code the html forms and then try add in the info?

I need to get the product id, product description and price from the database. the script should then be able to total up the prices of the checked selection and display that.

any suggestions...i really don't know where to start.

    Hey,

    First off, I would totally recommend generating the page via PHP and MySQL. Thats the whole point of dynamic websites. It helps if you plan to expand your products later on.

    Anyway...

    You would query the database, give the checkboxes/radio buttons the required values and allow the user to submit it as a form. It would then bring them to a secondary page (or the same page, whicever you prefer) and give them some kind of 'confirmation' and a total value of thier current selection.

    This is just a solutions using PHP. You could also use Javascript to add up the total value on the fly and display it on the bottom of the page. I have seen both work fine on numerous occasions.

    Does this make sense?

    Good luck!

      thanx for the help...yep i'm now getting the hang of php and mysql...i'm reading a lot of info and slowly understanding how to make my application work.

        Write a Reply...