php查詢問題

來源:互聯網
上載者:User



$link=mysql_connect("localhost", "root","");
$db = mysql_select_db("ms_qua");
mysql_query("set names 'utf8'");

?>

表名:廠家資質資訊






























回複討論(解決方案)

php 不是告訴你有錯嗎?

謝謝斑竹 真是每次都幫我這菜鳥= =謝謝@!

if (isset($_POST['submit'])){ $xingming=$_POST['xingming']; $sql="SELECT * FROM qua WHERE xingming=".$xingming.""; $query=mysql_query($sql); while($row=mysql_fetch_row($query)) { echo ' '; foreach($row as $v) echo " "; echo ' '; } } ?> 求協助 查詢這個弄好幾天了 還是出不來= =
$sql="SELECT * FROM qua WHERE xingming='$xingming'";$query=mysql_query($sql) or die(mysql_error());
  • 序號 部門 崗位 姓名 社會安全號碼碼 合約簽訂時間 認證名稱 發證單位 認證編號 發證日期
    $v

    聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.