Ver Mensaje Individual
  #5 (permalink)  
Antiguo 25/01/2015, 17:15
[^_WebMaster^_]
 
Fecha de Ingreso: abril-2001
Ubicación: Argentina
Mensajes: 67
Antigüedad: 23 años, 1 mes
Puntos: 0
Respuesta: Eliminar Doble comilla de un array

SOLUCIONADO:

$prefix = '';
echo "[\n";
while ( $row = mysqli_fetch_assoc( $result ) ) {
echo $prefix . " {\n";
echo ' label: "' . $row['tipo_negocio'] . '",' . "\n";
echo ' data: ' . $row['cantidad'] . ',' . "\n";
echo " }";
$prefix = ",\n";
}
echo "\n]";
__________________
Saludos!