You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Aumentamos el producto eliminado a la cantidad de articulos
// $pid = $db->get_var("select articulo_id from compras where usuario_id=".$_SESSION[ "user_id"] ." and compra_id=".base64_decode($values["id"])." and compra_estado=0");
// $db->query("update articulos set articulo_cantidad=articulo_cantidad+1 where articulo_id=$pid");
$db->query("delete from ponencias where usuario_id=".$_SESSION["user_id"]." and ponencia_id=".base64_decode($values["id"]));
echo "ok";
}else{
echo "Necesita <a href='./login.php'><b>iniciar sesion</b></a> para comprar.";