I am trying to insert a data that I extract from a list, but when choosing the data (eg: Esteban), just save the E
.
Here is a fragment of the code.
<td>
<select name="noap" id="noap">
<option value="<?php $row['noap'] ?>" selected="selected"><?php echo $row['noap'] ?></option>
<?php
$sql3 = 'SELECT * FROM conductor ORDER BY nomapell';
$result3 = mysqli_query($connex, $sql3);
if (mysqli_num_rows($result3) > 0) {
while($row3 = mysqli_fetch_assoc($result3)) {
?>
<option value="<?php echo $row3['nomapell']; ?>" > <?php echo $row3['nomapell']; ?></option>
<?php
}
}
?>
</select>
</td>