本文整理汇总了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();
示例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'];
示例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();
?>
示例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();
?>