Re: Problemas Select
| From: | Henry Santiago Vásquez | Date: | Thu, 31 Oct 2002 19:59:13 +0000 |
| Subject: | Re: Problemas Select | ||
| Groups: | php.general.es | ||
| Request: | Send a blank email to general-es+get-28724@lists.php.net to get a copy of this message | ||
hola.
Veras si index es entero como dices, entonces tu variable $index debe tener asignado un valor entero
tambien y no estar entre comillas como lo indicas en tu ejemplo.
Si asi lo has hecho, entonces dime que error te arroja y ya veremos o sino verifica tu mismo en tus
logs respectivos.
Suerte.
----- Original Message -----
From: "Servicios" <servicios@radiolegoda.com>
Date: Thu, 31 Oct 2002 11:37:10 -0800
To: <lista@phpes.com>
Subject: [PHP-ES] Problemas Select
> Que tal tengo poco tiempo con php.
>
> Tengo un problema con una consulta
>
> tengo el sig. Query: mysql_query("select * from tabla where
> index='$index'",
> $link);
>
> index es el campo llave de la tabla es de tipo integer.
> Y esto no me regresa ningún resulta. Me envia un mensaje de error.
>
> Alguin me puede ayudar????????
>
>
> ---------------------------------------------------------------------
> Archivo On-line: http://www.phpes.com/
> via news: news://news.phpes.com/
> Manual PHP en español: http://www.php.net/manual/es/
> Para dar de baja la suscripción, mande un mensaje a:
> lista-unsubscribe@phpes.com
>
>
--
_______________________________________________
Get your free email from http://mymail.operamail.com
Powered by Outblaze