Zen Cart Logo

A silly Mistake...!

Locked

Views: 992

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
27 Feb 2010, 4:24 AM
#1
vishalon avatar

vishalon

Zen Follower

Join Date:
Jan 2010
Posts:
130
Plugin Contributions:
0

A silly Mistake...!

I have made lot of changes in my REGISTRATION FORM

I also change the sequence of some fields in registration field.

Now problem I am facing is simple but I can't point out the error.

Data of all fields are saved in database properly except the state name.

So, I will appreciate any help on this, how can I save state name in database. When I select India it is not saving State in database.

Regards

27 Feb 2010, 4:32 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: A silly Mistake...!

Isn't "India" a country?

28 Feb 2010, 5:58 AM
#3
vishalon avatar

vishalon

Zen Follower

Join Date:
Jan 2010
Posts:
130
Plugin Contributions:
0

Re: A silly Mistake...!

Hi Kobra

Yes INDIA is a Country and I updated States of India from Zone section in Admin. But when I select any state from India that state is not goes to database. I didn't made any changes in state code or in database for state.

Please see the code, in attached files they are long so I am not embedding them here.
attached files

oemxtrade/includes/modules/create_account.php
/oemxtrade/includes/templates/template_default/templates/tpl_modules_create_account.php
Both the files are zipped

My Zone Database image is also attached

Thank you