include file vs db queries

This is a discussion on include file vs db queries within the PHP Language forums, part of the PHP Programming Forums category; hi there, I have a similar "problem". I have site with an iframe. The texts of menu-items ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2005
knoak
 
Posts: n/a
Default include file vs db queries

hi there,

I have a similar "problem".
I have site with an iframe. The texts of menu-items
displayed in the top-page should be called from the DB,
but there might be a possibility that same texts need to be
used again inside the frame. So i'd have to call the DB twice
for partially same info.

Is it possible to leave a connection open with the DB between
two pages, or shouldn't i even bother about this?
What are your suggestions? (Newbie level quite high here...)

Thanks in advance!

Greetings knoakske
Reply With Quote
  #2 (permalink)  
Old 01-05-2005
John Bokma
 
Posts: n/a
Default Re: include file vs db queries

knoak wrote:

> hi there,
>
> I have a similar "problem".
> I have site with an iframe. The texts of menu-items
> displayed in the top-page should be called from the DB,
> but there might be a possibility that same texts need to be
> used again inside the frame.


Why do you need the *same* menu text in an iframe?

--
John MexIT: http://johnbokma.com/mexit/
personal page: http://johnbokma.com/
Experienced programmer available: http://castleamber.com/
Happy Customers: http://castleamber.com/testimonials.html
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:58 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0