close
Blogtrottr
Changes are afoot at Blogtrottr!
By popular request, we're bringing in paid plans with some cool new features (and more on the way). You can read all about it in our blog post.
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中
PHP網頁連結中要有判斷的寫法
Jul 9th 2013, 16:37

各位大大你們好,想尋求你們的協助

我最近要寫一個PHP網頁

我的主網頁(index.php)有一個連結,需要透過判斷 "狀態" 資料庫欄位裡面的數值"0"或"1",來連入兩個不同的網頁(1.php 跟 2.php)

也就是當我按下主網頁的 連結按鈕 時,要判斷 資料庫"狀態"欄 當等於 "0" 的時候,會連入 1.php,如果判斷資料庫"狀態"欄 等於 "1" 的時候,會連入 2.php

這個問題困擾我幾天了,一直無法解決
請問這個是要怎麼寫出來

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. Five Filters recommends: 'You Say What You Like, Because They Like What You Say' - http://www.medialens.org/index.php/alerts/alert-archive/alerts-2013/731-you-say-what-you-like-because-they-like-what-you-say.html

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
    全站熱搜
    創作者介紹
    創作者 gyyij7s6y6fly 的頭像
    gyyij7s6y6fly

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

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