if (isset($_GET['edit_id'])) {
?>
<!DOCTYPE html>
<html>
<table>
<form action="" method="post">
<tr>
<td>Категория:</td>
<td><input type="text" name="name" value="<?= echo ($result['name']); ?>"></td>
</tr>
<tr>
<td colspan="2"><input type="submit" value="Сохранить"></td>
</tr>
</form>
</table>
<?php
}
?>
</html>