Ver Mensaje Individual
  #1 (permalink)  
Antiguo 13/07/2015, 08:54
charly_lpg
 
Fecha de Ingreso: octubre-2013
Mensajes: 56
Antigüedad: 10 años, 6 meses
Puntos: 1
problema con codigo PHP MYSQL

Hola
Tengo este codigo
pero a la hora de traer datos en $fila['bin'] no imprime ningun dato.

Código PHP:
                            <table width='990'>
                                <tr>
                                    <th colspan="2">BINES PARTICIPANTES</th>
                                </tr>
                                <tr>
                                    <th width="50">Tarjeta</th>   
                                    <th>BINES</th>
                                </tr>
                                <?php
                                $sql 
"SELECT tc, GROUP_CONCAT(bin ORDER BY bin ASC SEPARATOR ' / ')  FROM bines WHERE cia='" $_GET['cia'] . "' GROUP BY tc";
                                
$res mysqli_query($conn$sql);
                                while (
$fila mysqli_fetch_assoc($res)) {
                                    
?>
                                    <tr>
                                        <td> 
                                        <?php echo"" $fila['tc'] . ""?>   
                                        </td>    
                                        <td>
                                        <?php echo"" $fila['bin'] . ""?>   
                                        </td>
                                    </tr>
                                <?php ?>
                            </table>

Alguien me puede dar una ayudita?

Desde ya muchas gracias