Ver Mensaje Individual
  #5 (permalink)  
Antiguo 13/05/2010, 15:36
millan2525
 
Fecha de Ingreso: diciembre-2009
Mensajes: 612
Antigüedad: 14 años, 4 meses
Puntos: 16
Respuesta: cosa rara, antes me iba ahora no

Cita:
Iniciado por jordixip2 Ver Mensaje
Al for entra... a donde no entra es al while....

$titol=$_POST["titol"];
$valor=count($titol);
echo 'He hecho las conexiones';

for($i=0;$i<$valor;$i++)
{
/*$otra="select titol,subtitol,ISBN,numero,edicio,estat,preu_eur,p resd,pagines,pes,format,bn_color,encuadernacio, tapa,text_castella,text_angles,id_col from articles where titol like '" . $titol[$i] . "'"; */
$otra="select titol from articles where titol like '" . $titol[$i] . "'";
echo "$otra";
$result = mysql_query($otra, $link);
while ($row=mysql_fetch_array($result))
{
echo 'dentro del bcule';
}


}

mysql_close($backup);
mysql_close($link);

He hecho las conexiones hay 2 items chequeadosselect titol from articles where titol like '4 SEGUNDOS'select titol from articles where titol like 'AGUJERO NEGRO'

¿Puede ser eso?¿los {} del while?
__________________
Tengo una pregunta que a veces me tortura... ¿El loco soy yo o los locos son los demás?