ok

Mini Shell

Direktori : /home2/selectio/www/salemgovtitialumni.in/dashboard/admin/
Upload File :
Current File : /home2/selectio/www/salemgovtitialumni.in/dashboard/admin/get-end-category.php

<?php
include 'inc/config.php';
if($_POST['id'])
{
	$id = $_POST['id'];
	
	$statement = $pdo->prepare("SELECT * FROM tbl_end_category WHERE mcat_id=?");
	$statement->execute(array($id));
	$result = $statement->fetchAll(PDO::FETCH_ASSOC);
	?><option value="">Select End Level Category</option><?php						
	foreach ($result as $row) {
		?>
        <option value="<?php echo $row['ecat_id']; ?>"><?php echo $row['ecat_name']; ?></option>
        <?php
	}
}

Zerion Mini Shell 1.0