Código PHP:
Ver original$v2="UPDATE articulos SET precio=:precio ,descripcion=':texto', cantidad=:cant, descuento=:descuento where idarticulo=:idarticulo"; /// se debera añadir el nombre de la tabla origen
$vo=db::getStatement($v2);
$vo->bindParam(":precio", $v1, PDO::PARAM_INT);
$vo->bindParam(":texto", $v2, PDO::PARAM_STR);
$vo->bindParam(":cant", $v3, PDO::PARAM_INT);
$vo->bindParam(":descuento", $v4, PDO::PARAM_INT);
$vo->bindParam(":idarticulo", $v5, PDO::PARAM_INT);
$vo->execute();
Es un ejemplo de prueba q puse, pero igualmente no me funciona, ignoro porque no me toma el bindparam..
En un insert que intente me añadio en el campo ':texto' o sea no me reemplaza la variable..