My SELECT looks like this:
<label>Selecione a Marca:</label><br />
<select name="codmarca">
<?php
include '../conexao.php';
$select = mysql_query("SELECT * FROM marca");
while($res = mysql_fetch_array($select)){
?>
<option value="<?php echo $marca = $res['codigo'];?>"><?php echo $marca = $res['nome_marca'];?></option>
<?php } ?>
</select>
And so I can only write the code, because it's what's in VALUE right now.
How do I save the 'code' and 'tag_name' at the same time using select, or do not have?
Thank you in advance for everyone's attention to my problem.