$sql = "select id, group_name from $mysql_groups_table order by group_name asc";
$sql1 = "select count(id) from $mysql_tickets_table where group_id = '6' ";
$result = execsql($sql);
$result1 = execsql($sql1);
echo "<select name='grupo'>";
while($row = mysql_fetch_row($result)) {
echo "<option value=\"$row[0]\"> $row[1]";
}
echo "</select>";
if($row1=mysql_fetch_array($result1))
{
echo "<INPUT TYPE='text' NAME='gupo1' value= '$row1[0]' SIZE=28
}
MAXLENGTH=100>";
era por esto
//nos vemos suerte