By aland-at-burngreave.net on
I'd like to query another MySQL database, but use Drupal to render the results of the queries.
Is there a module available that will allow me to build queries against another database and output the results in Drupal ?
Thanks
--
Alan Dawson
Comments
Not a module, but an API function:
http://api.drupal.org/api/function/db_set_active
gpk
----
www.alexoria.co.uk
gpk
----
www.alexoria.co.uk
You do not necessarily need
You do not necessarily need a module to query another database. Open a node, choose php filter, write your php and query from any database. Show results as you like. Reply if this doesn't help?
Ali Hammad Raza
WordsValley
not working
as per your guideline i ahve created and query is made..so need some more help to view the query
need help
i have two different database of mysql and also doing all the steps in side the settng.php file
after that as per the guide, i have to insert the php code....
now my question is, where i have to put this php code to display the content of another database....
please help me ....i am in need of it