Hi!
I have to insert, update and select data from mulitple databases witch are on different servers, I'm using pdo in my project.
What I have is:
I parse an *.ini file where is configuration to main database server, I connect to this database and everything is ok, but in some part of my application user choose from checkbox data witch define database to connect, how to checked what user has choosen I think like this:
PHP Code:
foreach($_POST['checkbox.name'] as $ids){}
but I don't know the number of option, and how to connect to specific database server and for example insert some data, to all of database witch user has choosen using checkbox?
could you help me, please?