Ada asked in 電腦與網際網路程式設計 · 1 decade ago

php從mysql抓取資料產生表格問題

可以問一下在$query = "SELECT a.Level,b.1 From R1 a,T1 b Where a.Level=b.Level And a.Level=01";這行字的意思是什麼嗎?

因為php從mysql抓取資料產生表格,一直都無法做出來,可是我真得不懂這行字,可以幫我一下嗎

1 Answer

Rating
  • ALESSI
    Lv 6
    1 decade ago
    Favorite Answer

    $query = "select FIELD from TABLE WHERE FIELD = KEY";

    1.表示已query作為變數

    2.將從資料表以某欄位最為篩選資料所篩選的結果丟入query中

    Source(s): PHP & mysql
Still have questions? Get your answers by asking now.