Ver Mensaje Individual
  #6 (permalink)  
Antiguo 11/03/2011, 11:43
Slithice
 
Fecha de Ingreso: marzo-2011
Mensajes: 33
Antigüedad: 14 años
Puntos: 0
Respuesta: Problema al actualizar datos.

Cita:
Iniciado por bUllan9ebrio Ver Mensaje
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);
No eso no resulta, debo poner algo después de "$exe=mysql_query($update);"?