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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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 |