Well I was wondering how PHP handles MySQL connection?
For example, on our web-server there are index.php, info.php.
Each one of them has to connect to a database and retrieve some data.
That means that on both of those files I got to make mysqli_connect
or could I have a "global" connection?
For every client, that visit my website, PHP create new connection?
So one case scenario might be on index.php there is a select query and at same time there are 10000 visitors on my website. so there will be created 10000 connections?