close
Blogtrottr
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中 
Kindle Book Deals

We find the best deals on best-selling Kindle books for you. Just tell us which genres you love and we'll do the rest. The best part? It's completely free!
From our sponsors
php 資料寫入資料庫
Mar 15th 2014, 20:57

我要將資料寫入資料庫 為何無法將資料寫入資料庫的資料表myfriend ? 哪裡有錯?

// 加入好友按鈕的發送頁面

echo
" <input type='button' value='" . _MD_ADD_FRIEND . "' onClick=\"window.open('" . $index_dir . "add_friend.php?uid=" . $uid . "&fid=" . $fid . "','addFriend','width=50,height=50')\" />\n";

==========================================================

//接收的頁面 寫入資料庫資料表 myfriend

<?php

//如果使用者有登入且有接收到兩個變數
if(($_GET['uid'] == $xoopsUser->getVar('uid')) && !empty($_GET['fid'])){
$select_sql =
"SELECT COUNT(*) FROM " .
$xoopsDB->prefix("myfriend") .
" WHERE uid='" . $uid . "' AND fid='" . $fid . "'";
?>

This entry passed through the Full-Text RSS service — if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 nbv2x14xp1p6k 的頭像
    nbv2x14xp1p6k

    線上遊戲排行榜2013/2014,進擊的巨人線上看,candy crush saga外掛,正妹寫真三圍

    nbv2x14xp1p6k 發表在 痞客邦 留言(0) 人氣()