Ver Mensaje Individual
  #8 (permalink)  
Antiguo 06/08/2012, 20:51
Avatar de xIamAlex
xIamAlex
 
Fecha de Ingreso: abril-2012
Ubicación: Venezuela
Mensajes: 118
Antigüedad: 12 años
Puntos: 23
Respuesta: Partir un array

Código PHP:
<?php
$idg
=mysql_query("SELECT ".$A.",".$B.",".$C.",".$D.",".$E.",".$F.",".$G ."," .$H.",".$I.",".$J.",".$K." FROM porcentaje WHERE sector='$_POST[sector]' ");
while(
$regg=mysql_fetch_array($idg)){
echo 
$regg["$A"]. '<br />';
echo 
$regg["$B"]. '<br />';
echo 
$regg["$C"]. '<br />';
echo 
$regg["$D"]. '<br />';
echo 
$regg["$E"]. '<br />';
echo 
$regg["$F"]. '<br />';
echo 
$regg["$G"]. '<br />';
echo 
$regg["$H"]. '<br />';
echo 
$regg["$I"]. '<br />';
echo 
$regg["$J"];
}

?>
Posiblemente lo hayas puesto después del punto y coma y ese haya sido el error que te daba
__________________
Las personas quieren autos, casas, teléfonos, dinero, poder, ser famosos, parejas, en fin.. yo solo quiero ser libre y feliz.