Hi all,
I have dropdown in html consisting value country name. Instead of entering country name one by one into the mysql table I want to transfer by php programming . Is it possible ?
If so ,any one can suggest.......
Thanks in advance.

Recommended Answers

All 3 Replies

You want a table with all country names ? They are available for download. If you can't find any, you can have mine.

lets say this is your form:

<form action="insert.php" method="post">
<select name="country">
username: <input type="text" name="username" />
age: <input type="text" name="age" />
<input type="submit" />
$sql="INSERT INTO tablename (country, username, password)
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.