Skip to main content
Participant
October 6, 2009
Question

Advanced PHP Registration Form - Dynamic Drop Down / List Menus

  • October 6, 2009
  • 1 reply
  • 1026 views

Hello to all, I am if anything a graphic designer but a complete noobie to  web design, programming..& Dreamweaver!... I want to build an ecommerce site with an advanced dynamic registration form using PHP, MySQL etc.  I am currently using W.A.M.P.

On my desired registration form, the 'Country' & 'State' section will be drop-down/list-menus. When the user selects the country, I want the following 'State' drop down menu to change the default drop down listing & load the appropriate states based on the users country selection from the MySQL database.

Whether the entire page reloads maintaining user data or just the drop-down listing to do this, i am not concerned at this stage. I just want to find an entire step by step tutorial (video preferrable) on configuring the databases tables/fields etc correct for the form as well as designing the page in Dreamweaver (any version).

If anyone can point me to a tutorial on how to do this or even give me a few tips, would be greatly appreciated!. Anyone that wishes to submit me any code to help me with my form, could you please explain exactly where i need to place it in the pages as I am not programming literate.

Thanks in advance

wubba

This topic has been closed for replies.

1 reply

October 7, 2009

There are many things you need to learn to build a full-fledge ecommerce site.

Some of my book recommendations:

  • PHP and MySQL® Web Development, Fourth Edition by Luke Welling & Laura Thomson
  • Essential PHP Security, by Chris Shiftlett
  • MySQL, Fourth Edition by Paul DuBois

With PHP, it is very easy to connect to a database and pull some data to display, or put data into database, but it has security risks.

You need to learn how to write secure code, prevent some known attacks (SQL injection, email headers injection, session hijacking etc.), how to design your databases and queries for efficiency and speed.

Just my 2 cents.