Blogtrottr
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中 |
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中 |
|
|
Join Delanceyplace
Sign up to receive a free quote from a non fiction book every weekday. |
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.
|
|
|
winstonje 發表在 痞客邦 留言(0) 人氣()
留言列表