当前位置: 首页>>代码示例>>PHP>>正文


PHP Crud::eliminar方法代码示例

本文整理汇总了PHP中Crud::eliminar方法的典型用法代码示例。如果您正苦于以下问题:PHP Crud::eliminar方法的具体用法?PHP Crud::eliminar怎么用?PHP Crud::eliminar使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Crud的用法示例。


在下文中一共展示了Crud::eliminar方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: Coneccion

<?php

include '../_include/configuration.php';
include '../_classes/conectar.php';
include '../_classes/crud.php';
session_start();
$con = new Coneccion($server, $user, $password, $dbname);
$con->conectar();
$crud = new Crud();
$cadena = str_replace("festivo_id=on or", "", $_POST['condition']);
$crud->eliminar("festivo", $con->getConection(), "{$cadena}", "Fecha eliminada exitosamente.");
$con->desconectar();
开发者ID:jailtonyanes,项目名称:Test1,代码行数:12,代码来源:eliminar_festivos.php

示例2: Coneccion

<?php

include '../_include/configuration.php';
include '../_classes/conectar.php';
include '../_classes/crud.php';
$con = new Coneccion($server, $user, $password, $dbname);
$con->conectar();
$crud = new Crud();
$crud3 = new Crud();
$cadena = "cotizacion_id = '{$_POST['refe']};'";
$crud3->eliminar("items", $con->getConection(), "{$cadena}", "");
$i = 1;
$valores = '';
while ($i <= $_POST['contador']) {
    $tipo_serv = $_POST['tipo_serv_' . $i];
    $descrip = $_POST['ocul_descr_' . $i];
    $weblink = $_POST['ocul_link_' . $i];
    $crud->moneda_dec($_POST['precio_' . $i]);
    $precio = $crud->getValor();
    $cantidad = $_POST['cantidad_' . $i];
    $crud->moneda_dec($_POST['costo_ship_' . $i]);
    $shipping = $crud->getValor();
    $peso = $_POST['peso_' . $i];
    $state = $_POST['state_tax_' . $i];
    $crud->moneda_dec($_POST['pa_' . $i]);
    $precio_web = $crud->getValor();
    $crud->moneda_dec($_POST['flete_' . $i]);
    $flete = $crud->getValor();
    $crud->moneda_dec($_POST['subtotal_' . $i]);
    $total = $crud->getValor();
    $cotizacion_id = $_POST['refe'];
开发者ID:jailtonyanes,项目名称:importaciones,代码行数:31,代码来源:guarda_quotes.php

示例3: Coneccion

<?php

include '../_include/configuration.php';
include '../_classes/conectar.php';
include '../_classes/crud.php';
session_start();
$con = new Coneccion($server, $user, $password, $dbname);
$con->conectar();
$crud = new Crud();
$cadena = str_replace("minimo_id=on or", "", $_POST['condition']);
$crud->eliminar("minimo", $con->getConection(), "{$cadena}", "Monto eliminado exitosamente.");
$con->desconectar();
?>

开发者ID:jailtonyanes,项目名称:Test1,代码行数:13,代码来源:eliminar_monto.php

示例4: Coneccion

<?php

include '../_include/configuration.php';
include '../_classes/conectar.php';
include '../_classes/crud.php';
$con = new Coneccion($server, $user, $password, $dbname);
$con->conectar();
$crud = new Crud();
$cadena = "id = '{$_POST['condition']}'";
$crud->eliminar("sucursal", $con->getConection(), "{$cadena}", "Sucursal eliminada exitosamente.");
$con->desconectar();
?>

开发者ID:jailtonyanes,项目名称:importaciones,代码行数:12,代码来源:eliminar_sucursal.php


注:本文中的Crud::eliminar方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。