<?
$dbconnect = mysql_connect("localhost", "mysql id", "mysql password") or die(mysql_error());
$mysql = mysql_select_db("db명") or die(mysql_error());
?>
'tech > PHP' 카테고리의 다른 글
현재 URL 구하기 (0) | 2012.06.25 |
---|---|
open_basedir restriction in effect (0) | 2012.05.23 |
Warning: exec() has been disabled for security reasons in ...... (0) | 2012.03.22 |
[PHP] Warning: Cannot modify header information (0) | 2012.03.09 |
PHP + SQL select box (0) | 2012.02.24 |