<html xml:lang="en" lang="en"
<form id="deal_form_lk" class="sform" action="javascript:void(null);" onsubmit="send_form_lk('deal_form_lk')">
<div class="input-group col-12 col-md-6">
<input id="nomerForm" type="text" name="nomerForm" placeholder="" class="form-control" value="№: <?=$nom?>" style="background: white;" readonly/>
</div></form>
<? $nom;?>
<?php
session_start();
$nom = isset($_SESSION["nom"]) ? intval($_SESSION["nom"] + 1) : 1;
$_SESSION["nom"] = $nom = $nom > 999 ? 999 : $nom;
echo $nom;
?>