Ver Mensaje Individual
  #5 (permalink)  
Antiguo 12/09/2016, 14:35
Avatar de KATHYU
KATHYU
 
Fecha de Ingreso: julio-2013
Mensajes: 547
Antigüedad: 10 años, 9 meses
Puntos: 46
Respuesta: Consulta mysql con where variable array

Pero en el query lo que falta es un WHERE.

Esto tenes vos
Código PHP:
$result mysql_query(“SELECT nombresemail FROM tiendas=.$tienda); 
Asi mas o menos debe ser
Código PHP:
$result mysql_query("SELECT nombres, email FROM tiendas WHERE id_tenda='$tienda'"); 
O haciendolo con el include (in) de SQL pero que le te falta el WHERE te falta
__________________
Al contrario de lo que muchos podrían afirmar, ayudar no te hace pobre, sino más rico.