1
In the MySQL
I have a database and inside it I have the table student, and would like to search in another bank that is identical to the first, however, with different information, and would like to know in which of the banks the pupil is created.
This search would display the result on the page itself, and I’m having this doubt and I’m not able to unroll it.
Obs: this code can be in php or JavaScript
.
Create two different connections when executing the query specify the repective connections. You are using Mysqli or PDO?
– rray
Mysql, more would have another way, because if you have several schools would be several connections?
– raiff
All Databases are on the same server?
– rray
Wouldn’t just be using the
mysqli_select_db
and select another database?– Inkeliz
There’s a difference between asking for help and asking me to do it for you. Post the code: Manual on how NOT to ask questions.
– ShutUpMagda