$filename = 'file.mp3'; //сам файл
$format = pathinfo($filename, PATHINFO_EXTENSION); //определяем формат
//условия
if($format == 'mp3'){
echo '<audio src="'.$filename.'"></audio>'
}else if($format == 'mp4'){
echo '<video><source src="'.$filename.'" type="video/mp4"></video>'
}else if($format == 'jpg'){
echo '<img src="'.$filename.'">'
}else{
echo 'формат не найден'
}
<select multiple="multiple" name="select_1[]">
<select class="form-select" name="select_1"
<select class="form-select" name="select_2"
$title = $_POST['name'];
$url = $_POST['url'];
$get_id_type = $_GET['id'];
$select_1 = $_POST['select_1'];
$select_2 = $_POST['select_2'];
$sql = ("INSERT INTO `xf_type` (`title`, `url`,`select_1`, `select_2`) VALUES (?,?,?,?)");
[[!FormIt?
&hooks=`email,redirect`
&emailTpl=`responseTpl - ЧАНК`
&emailSubject=`Заявка`
&emailTo=`ПОЧТА`
&redirectTo=`СЮДА id страницы просто номер`]]