Código PHP:
   $select = "SELECT tipo_bolso FROM ".TABLE_ADS."  where `id`='$anuncios'";
$resultado  = mysql_query($select);             
while($row = mysql_fetch_assoc($resultado)) {
$cadena = 'Bolso de gandía';//$row['tipo_bolso'];
$cambio = (string)$cadena;
$cambio = ereg_replace("[áéíóúabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.&-/]","",$cambio);
$res=$db->query("update ".TABLE_ADS." set tipo_bolso_num='$cambio' where `id`='$anuncios'");
} 
    Código PHP:
   $select = "SELECT tipo_bolso FROM ".TABLE_ADS."  where `id`='$anuncios'";
$resultado  = mysql_query($select);             
while($row = mysql_fetch_assoc($resultado)) {
$cadena = $row['tipo_bolso'];
$cambio = (string)$cadena;
$cambio = ereg_replace("[áéíóúabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.&-/]","",$cambio);
$res=$db->query("update ".TABLE_ADS." set tipo_bolso_num='$cambio' where `id`='$anuncios'");
} 
    Que hago mal?
Gracias
 

