本文整理汇总了PHP中Dao::getSpecificUserData方法的典型用法代码示例。如果您正苦于以下问题:PHP Dao::getSpecificUserData方法的具体用法?PHP Dao::getSpecificUserData怎么用?PHP Dao::getSpecificUserData使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Dao
的用法示例。
在下文中一共展示了Dao::getSpecificUserData方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: header
header("Location:login.php");
}
// products.php
// This page lists products and generates links with an id in the query string
require_once "Dao.php";
$dao = new Dao();
$email = $_GET["Email"];
//<?php $email
?>
<html>
<body>
<div id="main">
<div id="nav2">
<table>
<?php
$historys = $dao->getSpecificUserData($email);
echo "<tr> ";
echo "<td> " . "User" . " </td>";
echo "<td> " . "Last Property Search" . " </td>";
echo "<td> " . "Date of search " . " </td>";
echo "<td> " . "See Property Of Search " . " </td>";
echo "</tr> ";
foreach ($historys as $history) {
echo "<tr> ";
echo "<td> " . $email . " </td>";
echo "<td> " . $history["address"] . " </td>";
echo "<td> " . $history["dateofsearch"] . " </td>";
echo "<td><a href='property_handler.php?Propaddnum=" . $history["Address"] . "'>" . " View user search" . "</a></td>";
echo "</tr> ";
}
?>