Jump to content

Include Files

Recommended Posts

I'm wanting to create some include files that display some recordset information but I found that when I drop and include file on a page that aready has another recordset on it I get errors. Anyone have any suggestions on how to do this. I thinking it is because it calls the connection file twice or something? Thanks


Link to comment
Share on other sites

The included file has a connection in it, right? Get rid of it. But then, that will cause some errors, because it can't connect to the database on that page; ignore those warning marks. I know it's hard to do, but you have to do it. Dreamweaver seems to have issues with include files-if you try to use their include browser, it will only cause problems. Includes files are things that need to be hard-coded because of the inherent glitchiness of it's PHP support.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.