看板 PHP 關於我們 聯絡資訊
※ 引述《starair (我要的是什麼)》之銘言: : ※ 引述《KijneLines (well me :))》之銘言: : 請問要在哪裡打入 : set name 'utf-8'; : set characterset 'utf-8'; : 是在php中嗎 : 可以幫我看看嗎? : 謝謝 : 以上我的程式碼^^ : <?php : $link = mysql_pconnect("localhost", "root", "") : or die("Could not connect"); : mysql_select_db("test") : or die("Could not select database test"); : $sql = "SELECT * FROM test"; 應該在query之前插入就可以了 大概是這邊吧 : $result = mysql_query($sql) : or die("invalid query"); -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 59.104.7.199