Ver Mensaje Individual
  #3 (permalink)  
Antiguo 13/05/2010, 14:27
jordixip2
 
Fecha de Ingreso: mayo-2010
Mensajes: 112
Antigüedad: 14 años
Puntos: 0
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'

Última edición por GatorV; 13/05/2010 a las 15:16