本文整理汇总了PHP中Owner::setAthenaemailpw方法的典型用法代码示例。如果您正苦于以下问题:PHP Owner::setAthenaemailpw方法的具体用法?PHP Owner::setAthenaemailpw怎么用?PHP Owner::setAthenaemailpw使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Owner
的用法示例。
在下文中一共展示了Owner::setAthenaemailpw方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Owner
$_POST[$field] = '';
}
}
// Check if we have Form Data to process
if (isset($_GET['go']) && $_GET['go'] == "y") {
$logContent = '';
// Update Address table
$addsid = db_updateAddress($_POST, 100);
# Update DB
$ownerUpdate = new Owner();
$ownerUpdate->setOwnerid(100);
$ownerUpdate->setCo_name($_POST['co_name']);
$ownerUpdate->setVat_no($_POST['vat_no']);
$ownerUpdate->setCo_no($_POST['co_no']);
$ownerUpdate->setAthenaemail($_POST['athenaemail']);
$ownerUpdate->setAthenaemailpw($_POST['athenaemailpw']);
$ownerUpdate->setEmailsmtpsrv($_POST['emailsmtpsrv']);
$res = $ownerUpdate->updateDB();
header("Location: index.php?updateOwner=" . $res);
exit;
}
// Define elements for the HTML Header include
$pagetitle = "Edit Your Company Details";
include "tmpl/header.php";
$owner = siteDets();
?>
<h1>Edit Your Company Details</h1>
<form role="form" action="<?php
echo $_SERVER['PHP_SELF'];