Esempio n. 1
0
<?php

require_once "mysql_db_defs.php";
require_once "htmlUtil.php";
require_once "tcCustomer.php";
global $db_conn;
$customer = new tcCustomer($db_conn);
$customer->custId = $_POST["id"];
$customer->fname = $_POST["fname"];
$customer->lname = $_POST["lname"];
$customer->phone = $_POST["phone"];
$customer->email = $_POST["email"];
// update the customer information on the database
$customer->updateCustomer();