Jump to content

HELP Please!!! -- need to get my home page php and the include.inc working


ggseven

Recommended Posts

Hi all,

 

I am a novice to PHP/MySql so bear with me....Well, I have a problem with my include.inc that I've created. Smthg seems to be going wrong with establishing a connection. I think I have something slightly wrong with my syntax, so I think it's helpful for another set of eyes to have a look. ??? (as my eyes are tired :-)....I'm using this include for the other attached script - my home page (home.php)

 

Thanks in advance for any help with what's wrong with one (or both) files.

 

--GG

 

[attachment deleted by admin]

Link to comment
Share on other sites

Thanks for your response. I'm getting messages that say "problem connecting to the database" etc...I don't understand becuase to me my connection looks good. I would remove more functions/code from the include.inc and maybe home.inc but I don't want to miss any important functions that relate to other scripts. Basically I'm using code from a web apps book (Hugh Williams - Winestore shop) as the basic foundation (please see the attached of that web database app). I'm modifying this code to attach to a film store dvd databas web app that i'd like to produce....

 

Hope that explains things a bit better.

 

Any advice/suggestions is greatly appreciated.

 

Thanks,

 

GG

 

[attachment deleted by admin]

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.

Guest
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.