本文整理匯總了PHP中notifications::createFeed方法的典型用法代碼示例。如果您正苦於以下問題:PHP notifications::createFeed方法的具體用法?PHP notifications::createFeed怎麽用?PHP notifications::createFeed使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類notifications
的用法示例。
在下文中一共展示了notifications::createFeed方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: notifications
<?php
include "../scripts/db.php";
$user = $_POST["user"];
$pass = $_POST["p"];
$_s = $_POST["_s"];
if (isset($pass) && !$wall) {
$fed = new notifications();
if (isset($_s)) {
$con = new db();
$conc = $con->c();
$new_not = new_not_num($conc, $user, $_s);
if ($new_not != 200000) {
print $new_not . "____";
print $fed->createFeed($conc, $user, 5);
mysqli_kill($conc, mysqli_thread_id($con->c()));
mysqli_close($con->c());
} else {
mysqli_kill($conc, mysqli_thread_id($con->c()));
mysqli_close($con->c());
echo "none";
exit;
}
} else {
$con = new db();
$conc = $con->c();
print $fed->createFeed($conc, $user, 30);
$con->close_db_con($conc);
}
}
class notifications