作者bmzz (bmzz)
看板PHP
標題Re: [請益] 關於程式撰寫問題(架構)
時間Fri Aug 27 00:10:49 2010
db_connect();
if ($test) {
echo "<script>location.href='" . $a . ".html'</script>";
} else {
echo "<script>location.href='error.html'</script>";
}
mysql_close($link);
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.24.43.44
1F:推 cleanwind:你的 close 還是要進去吧?! 08/27 03:47
2F:→ bmzz:不懂為何要進去=p? 08/27 21:50