[code=html]Categoria:<sele ct name="categoria ">
<option value="<?php echo $categoria;?>" SELECTED><?php echo $categoria;?></option>
<option value="Geral">c at1</option>
<option value="2">cat2</option>
<option value="3">cat3</option>
<option value="4">cat4</option>
<option value="5">cat5</option>
<option value="6">cat6</option>
</select> <br>[/code]
[Please use CODE tags when posting source code. Thanks! --pbmods]
the question is: the camps where is named cat1, cat2, etc... how i can put values from the database???
I know how to open and do the query's but i dont know how to put in the select camps
<option value="<?php echo $categoria;?>" SELECTED><?php echo $categoria;?></option>
<option value="Geral">c at1</option>
<option value="2">cat2</option>
<option value="3">cat3</option>
<option value="4">cat4</option>
<option value="5">cat5</option>
<option value="6">cat6</option>
</select> <br>[/code]
[Please use CODE tags when posting source code. Thanks! --pbmods]
the question is: the camps where is named cat1, cat2, etc... how i can put values from the database???
I know how to open and do the query's but i dont know how to put in the select camps
Comment