本文整理汇总了PHP中Owner::password方法的典型用法代码示例。如果您正苦于以下问题:PHP Owner::password方法的具体用法?PHP Owner::password怎么用?PHP Owner::password使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Owner
的用法示例。
在下文中一共展示了Owner::password方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Owner
<?php
include_once "../php/Owner.php";
if (isset($_POST['submit'])) {
$owner = new Owner();
$owner->identification($_POST['identification']);
$owner->password($_POST['password']);
$owner->firstName($_POST['firstName']);
$owner->secondName($_POST['secondName']);
$owner->firstSurname($_POST['firstSurname']);
$owner->secondSurname($_POST['secondSurname']);
$owner->bornDate($_POST['bornDate']);
$owner->gender($_POST['gender']);
$owner->cellPhone($_POST['cellPhone']);
$owner->email($_POST['email']);
$owner->address($_POST['address']);
$result = $owner->insert();
if ($result == -1) {
$GLOBALS['result'] = "Error";
} else {
$GLOBALS['result'] = "Done";
}
header("location: admin.php");
} else {
}