- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
/*
CONNECT
*/
function connect( $server, $user, $pass )
{
return mysql_connect( $server, $user, $pass );
mysql_query("SET NAMES 'utf8'");
}
/*
PCONNECT
*/
function pconnect( $server, $user, $pass )
{
return mysql_pconnect( $server, $user, $pass );
mysql_query("SET NAMES 'utf8'");
}
/*
SELECT DB
*/
function select_db($database,$link_id)
{
return mysql_select_db($database,$link_id);
mysql_query("SET NAMES 'utf8'");
}
apple-way 07.03.2011 19:38 # −6
Lure Of Chaos 07.03.2011 21:12 # +2
Lure Of Chaos 07.03.2011 21:13 # +3
wvxvw 07.03.2011 22:29 # +3
Lure Of Chaos 07.03.2011 22:48 # +1