Ver Mensaje Individual
  #4 (permalink)  
Antiguo 15/11/2005, 13:05
Avatar de arielcasanova
arielcasanova
 
Fecha de Ingreso: octubre-2004
Ubicación: Bahía Blanca - Argentina
Mensajes: 332
Antigüedad: 19 años, 6 meses
Puntos: 1
GENIAL!!! MUCHAS GRACIAS, YA FUNCIONO!
<?php
include ("conexion.php");
$link = mysql_connect($host, $user, $pass);
mysql_select_db($base, $link);
$result = mysql_query("SELECT presentacion FROM productos where producto='$producto'", $link);
while ($row=mysql_fetch_array($result))
{
$presen = $row['presentacion'];
$mi_array = explode("-",$presen);
foreach($mi_array as $value)
echo "Mi presentación:".$value.".<br>";
}
?>
__________________
Ariel Casanova
diseño y desarrollo web estratégico
www.emporia.com.ar