1
I have the following form:
<?php
echo"<form class='form-horizontal' method='POST' action='reposicao.php'>";
echo"<fieldset>";
echo"<legend>OPÇÕES</legend>";
echo"<input type='hidden' name='loja' id='loja' value='$v_loja'>";
$query_menu = mysql_query("SELECT
rm_id AS FUNCAO,
rm_desc AS DESCRICAO,
rm_obs AS OBSERVACAO,
rm_status AS STATUS
FROM radios_menu
WHERE rm_status='0'");
while ($row = mysql_fetch_array($query_menu)) {
$v_funcao = $row["FUNCAO"];
$v_desc = $row["DESCRICAO"];
$v_obs = $row["OBSERVACAO"];
$v_status = $row["STATUS"];
echo"<div class='form-group'>";
echo"<label class='col-lg-2 control-label'></label>";
echo"<div class='col-lg-10'>";
echo"<div class='radio'>";
echo"<label>";
echo"<input type='radio' name='v_desc' id='$v_funcao' value='$v_funcao' >$v_desc </label></br>";
echo"</div>";
echo"</div>";
echo"</div>";
}
echo"<input type='hidden' name='v_descricao' id='$v_desc' value='$v_desc '>";
echo"<br />";
echo"<br />";
echo"<div class='form-group'>";
echo"<div class='col-lg-10 col-lg-offset-2'>";
echo"<button type='submit' class='btn btn-primary'>CONSULTAR</button>";
echo"</div>";
echo"</div>";
echo"</fieldset>";
echo"</form>";
?>
It lists several radios, only ta listing everything below each other as could do to list 2 columns ?
Blza, all right, thanks for the echo tip too, hug.
– Chefe Druida
Glad I could help, D
– Fleuquer Lima