Re: Problemas Select

From: Date: Thu, 31 Oct 2002 18:31:31 +0000
Subject: Re: Problemas Select
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-28715@lists.php.net to get a copy of this message
si es de tipo integer no lleva las comillas. Prueba esto Query: mysql_query("select * from tabla where index=".$index,$link) or die(mysql_Error()); Servicios wrote:
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
-- Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/

« previous php.general.es (#28715) next »