Hi guys,
I have a odd problem here.
I'm a beginner and I have no idea what it can be.. 😑
ps. English is not my first language, so I hope you can understand... ☺️
In dropdown field below, I put in value property the ID column, but when it registers in the database, it saves as string type and not as integer.
<?php
$sql = "SELECT id, sigla FROM local ORDER BY sigla ASC";
$result = $conn->query($sql);
?>
.
.
.
<select name="local" class="form-control">
<option selected>Selecione...</option>
<?php
while($row = $result->fetch_as