本文整理匯總了PHP中Teacher::searchTeacher方法的典型用法代碼示例。如果您正苦於以下問題:PHP Teacher::searchTeacher方法的具體用法?PHP Teacher::searchTeacher怎麽用?PHP Teacher::searchTeacher使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Teacher
的用法示例。
在下文中一共展示了Teacher::searchTeacher方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: Teacher
<?php
require_once "../init.php";
$teacher = new Teacher(new PDOdb("mysql:host=localhost;dbname=usjr", "root", ""));
$tchid = $_GET['tchid'];
$mode = $_GET['mode'];
$result = $teacher->searchTeacher(array('teacherid' => $tchid));
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta author="Rabsky">
<title>
Teacher Maintenance - Change Entries
</title>
<link rel="stylesheet" type="text/css" href="../css/ustyles.css">
</head>
<body>
<header class="mainheader">
<section class="lefthead">
<span class="headtext">Rabsky University</span>
</section>
<section class="righthead">
</section>
</header>
<section id="regholder">
<?php
if ($mode === "1") {
?>