[PHP-users 13637] Re: DB$B$X$N(Bconnect $B$H(Bclose

Hideumi Kaneuchi php-users@php.gr.jp
Sat, 01 Mar 2003 02:12:22 +0900


$B6bFb$G$9!#(Bmysql_connect$B$rJL$N%U%!%$%k$G@k8@$7!"(B
$B=hM}MQ$N(Bphp$B%U%!%$%k$NCf$G!"(Bmysql_query$B$rJ#?t2s$bH/9T$7$F(B
$B$$$k$N$G$9$,!"$3$N$h$&$J>l9g$N(B close$B@k8@$O(B

1.SQL$B$r#1$DH/9T$7$F$=$N7k2L$rMxMQ$7$J$/$J$C$?$i(B
2.$B$=$N%U%!%$%kFb$N0lHV:G8e$N=hM}!"%(%i!<=hM};~$K(B

$B$N$I$A$i$,NI$$$N$G$7$g$&$+!"%*!<%P!<%X%C%I$J$I$r9M$($k$H(B
$B$d$O$j#2$H9M$($FNI$$$N$G$7$g$&$+!#(B

#$B0lEY!"(Bpconnect$B$rMxMQ$7$F$$$?$N$G$9$,!"(Btable lock$B$rMxMQ(B
#$B$9$k$3$H$K$J$j!"(Btable$B$,%G%C%I%m%C%/$N$^$^$K$J$C$F$7$^$C$?(B
#$B$N$GMxMQ$r;_$a$^$7$?!#(B