form action method post input type hidden name value submit table tr t

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<form action="" method="post">
<input type="hidden" name="a" value="submit">
<table>
<tr>
<td>Город</td>
<td><input type="text" name="сity" value="{if !empty($user->city)}{$user->city}{/if}"></td>
</tr>
<tr>
<td>Район</td>
<td><input type="text" name="district" value="{if !empty($user->district)}{$user->district}{/if}"></td>
</tr>
<tr>
<td>Улица</td>
<td><input type="text" name="street" value="{if !empty($user->street)}{$user->street}{/if}"></td>
</tr>
<tr>
<td>Координаты на карте</td>
<td><input type="text" name="latlng" value=""></td>
</tr>
<tr>
<td>
</td>
<td><input type="submit" name="submit" value="Внести"></td>
</tr>
</table>
</form>