i have two drop downs. first drop down populate from database. second drop down populated from database based on selected value of first drop down.
You need to concantenate them properly and also you don't you put , after last column in the query
,
Change following
$sql1="INSERT INTO table1 (Country, State) VALUES ('$c', '$s',)";
to
$sql1="INSERT INTO table1 (country, state) VALUES ('".$c."', '".$s."')";