This commit is contained in:
Suvodip
2025-02-14 17:49:27 +05:30
parent 7ecec968ca
commit 5f51ada6a1
2 changed files with 2 additions and 1 deletions

View File

@@ -114,7 +114,7 @@ try {
<select name="type" id="type" style="padding: 10px;">
<?php
// echo $row['type'];
$typeOptions = ['notice', 'tender', 'page', 'documents', 'events'];
$typeOptions = ['notice', 'tender', 'page', 'documents', 'events', 'faculty'];
foreach($typeOptions as $type){
$selected = ($row['type'] === $type) ? 'selected' : '';
echo '<option value="'.$type.'" '.$selected.'>'.ucfirst($type).'</option>';