Server IP : 103.53.40.154 / Your IP : 52.15.68.97 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 ] |
---|
<?php require_once("includes/dbsmain.inc.php"); ?> <?php $religionId = $_GET['religionId']; // Perform the SQL query $sql = "SELECT * FROM tbl_community WHERE c_status='Active' AND c_parent_id='$religionId'"; $result = db_query($sql); // Generate options for the cast dropdown $options = '<select class="dsbo-fom-1" name="join_cast" id="join_cast">'; $options .= '<option value="0">----Select Community----</option>'; while ($row = mysqli_fetch_assoc($result)) { $options .= '<option value="' . $row['c_id'] . '">' . $row['c_title'] . '</option>'; } $options .= '</select>'; // Output the generated options echo $options; ?>