php database...
Posted: Sat Jul 02, 2011 1:43 pm
hi, I know this is sound crazy but I'm still rookie try to undersand how to write that php code.
I have signup form and one of text fields relate to country, the country is comes with code number. So let say I have two database tables which is called "country" and "country_code" in table name "country_code" has two columns which is list of countries and list of code number.
See sample columns
Country_code table...
country code
---------- ------
usa 253
canada 259
Demark 521
So when person select country it will retreive code number that are match with country name and then insert country code into the country database.
does any one help me how can i write that code !
please thanks.
AM
I have signup form and one of text fields relate to country, the country is comes with code number. So let say I have two database tables which is called "country" and "country_code" in table name "country_code" has two columns which is list of countries and list of code number.
See sample columns
Country_code table...
country code
---------- ------
usa 253
canada 259
Demark 521
So when person select country it will retreive code number that are match with country name and then insert country code into the country database.
does any one help me how can i write that code !
please thanks.
AM