Totally Zenned
- Join Date:
- May 2006
- Location:
- Gardiner, Maine
- Posts:
- 2,383
- Plugin Contributions:
- 7
what's the best way to access another database?
I need to pull some limited information for a dropdown list in a sidebox. This information comes from another database on the site.
I see 2 ways to go:
1 is to pull that information in a separate php script and upload it to a new table in the zen database. I thought this would be the easiest but I'm having php writer's block (dang arrays)
So the other way is doing it within the cart itself - in the module for the sidebox. I did try this but it's killing off the sideboxes that fall after it because of my inability to switch from one database connection back to the original.
So I need advice on the best way to do this and then probably some tips on how to do it!
The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo