Ver Mensaje Individual
  #8 (permalink)  
Antiguo 28/09/2006, 12:44
Avatar de Erikfrancisco
Erikfrancisco
 
Fecha de Ingreso: noviembre-2003
Ubicación: Estado de México
Mensajes: 503
Antigüedad: 21 años, 3 meses
Puntos: 4
DISCULPA LA TARDANZA PERO ES QUE ESTABA OCUPADO EN MI TRABAJO. SIGUIENDO CON TU PROBLEMA SI CAMBIAS TU CODIGO DE LA SIG. MANERA:

function ver_compras ( $id_prod )
{
$this->array_id_prod = $id_prod;

$db = mysql_pconnect ( "xxxx", "xxxx", "xxxx" );
mysql_select_db ( 'xxxxx' );

for ( $e = 0; $e < count ( $id ); $e++ )
{
$consulta = "SELECT * FROM tblArticulos WHERE id_index = '".$this->array_id_prod[$e]."'";
$result = mysql_query ( $consulta );
BLABLABLA


FUNCIONARA?