I have series of mysql databases on my server. The names of these databases are stored in a separate database table (users) - column(dbname) . I want to loop through table (user
After days of struggle I was able to come out with this solution. I took a lot of ideas from solutions that were provided to this question on this platform. the solutions themselves did not work for me but I had lots of ideas from them.
";
//another operation goes here for the same db.
// then close connection for each db
mysql_Close ($conn);
}
}
?>
This was how I went around this problem. It might not be the best solution but this is what I have