Ver Mensaje Individual
  #8 (permalink)  
Antiguo 30/04/2005, 04:45
kirsi
 
Fecha de Ingreso: abril-2005
Mensajes: 18
Antigüedad: 19 años
Puntos: 0
Holaaa, ya estoy aki otra vez
he tenido problemillas en la pagina de ver elementos.php
es un fallo en la sintaxis creo, he imprimido el error y bueno, esto es lo que tengo:

$sql = "Select * from $db_tabla Where id= ".$id;
$result = mysql_query($sql,$link);

while ($row = mysql_fetch_array($result)) {

y este es el error que me da:

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'Where id like' at line 1Select * from Where id like
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in c:\servidor\web\verelementos.php on line 39


Necesitooo ayudaaaa llevo mucho tiempo probando cosas...
Jejeje
Saludos