Ver Mensaje Individual
  #4 (permalink)  
Antiguo 11/03/2011, 11:37
Avatar de bUllan9ebrio
bUllan9ebrio
 
Fecha de Ingreso: enero-2011
Ubicación: Chile
Mensajes: 1.128
Antigüedad: 14 años, 1 mes
Puntos: 128
Respuesta: Problema al actualizar datos.

Prueba con esto :

Código PHP:
Ver original
  1. $link=mysql_connect('localhost','root','xxxxxx');
  2. mysql_select_db('tiendaropa', $link);
  3. $update="UPDATE  articulos SET  CodBarras =  '$Barrass' ,IdSeccionA =  '$IdSs' ,NombreA =  '$NArtis',PrecioCompra =  '$PrecCs',PrecioVenta =  '$PrecVs',MComercial =  '$M_Coms',Existencias =  '$Exss',Minimo =  '$Mnms',Valido =  '$Valids' WHERE CONVERT(  CodBarras USING utf8 ) =  '0000000000000' LIMIT 1 ";
  4. $exe=mysql_query($update);