"; $query = mysqli_query($link,"select * from type_object where company='$companyID'"); while ($res = mysqli_fetch_array($query)) { echo "
".$res['name']."
"; } echo "
"; echo"
"; if (isset($_POST['added']) && $_POST['new']==1 ) { echo "
Название:
Описание:
"; echo "
"; } ?>