當前位置: 首頁>>代碼示例>>PHP>>正文


PHP notifications::createFeed方法代碼示例

本文整理匯總了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
開發者ID:gottsohn,項目名稱:muzikkitchen,代碼行數:31,代碼來源:not.php


注:本文中的notifications::createFeed方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。