(Answer) (Category) WebGUI FAQ : (Category) Web Design :
Cross-Site database access
To access the wg db of one site from another wg site: www.site1.com db=www_site1_com www.site2.com db=www_site2_com
on site2 create a new database connection whose connect string is: DBI:mysql:www_site1_com
Now you can access the db from both sites. It's probably a bad idea to write anything to site1 from site2 though. I have not even tried that. I just use it for accessing the same news items on each site. I update one site and they all get it.
[Append to This Answer]
howellATnbccDOTorg
Previous: (Answer) How do I pull the first words, sentences, paragraphs from a SQL Query?
Next: (Answer) Create an RSS feed quickly and easily 6.7+
This document is: http://www.gwy2.org/cgi-bin/fom?file=93
[Search] [Appearance]
This is a Faq-O-Matic 2.719.
This FAQ administered by ... Gerald Young