Re: [PHP] A strange question about mysql_close()

2009-12-17 Thread Richard Quadling
2009/12/17 唐家兴 tjxing.1...@gmail.com: I want to ask a strange question. As we know, if we connect a mysql database in the same host twice with the same username, we won't get two new link, but two handle to only one link. Then, if I close one of them, whether the other one will be closed

Re: [PHP] A strange question about mysql_close()

2009-12-17 Thread Richard Quadling
2009/12/17 Richard Quadling rquadl...@googlemail.com: 2009/12/17 唐家兴 tjxing.1...@gmail.com: I want to ask a strange question. As we know, if we connect a mysql database in the same host twice with the same username, we won't get two new link, but two handle to only one link. Then, if I close

[PHP] A strange question about mysql_close()

2009-12-16 Thread 唐家兴
I want to ask a strange question. As we know, if we connect a mysql database in the same host twice with the same username, we won't get two new link, but two handle to only one link. Then, if I close one of them, whether the other one will be closed together? I wrote two pieces of code. The