Forums / General / Query an external Database

Query an external Database

Author Message

Nayef Abu Ebaid

Monday 18 December 2006 6:28:09 am

Hi Everyone,

I have a toolbar that i use to as an advertising template, every section on the site has its own ad, so every ad has zone i, i use the template to tell the toolbar in which section i am and it will get the ads for me, i have a database that has all the zone ids in it, i want the toolbar somehow to query the database and get the zone id depned on the section, so I was thinking of writing a query using php to query this db. how can do that?!

Nayef

kracker (the)

Monday 18 December 2006 10:01:45 am

Yes. Use the 'wrap_operator' it will work perfectly for your needs.

<i>http://ez.no/community/forum/setup_design/include_website_in_another#msg115898</i>

//kracker
<i>tv : reading rainbow ...</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Xavier Dutoit

Monday 18 December 2006 4:46:35 pm

and beware the various caches so you have your toolbar recalculated for each different sections instead of reusing one from a previously cached one.

X+

http://www.sydesy.com