當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。