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]

I've downloaded your code, and I'll take a look at it.

 

In the meantime, if you elaborate on the problem you are experiencing it would be most helpful. Also, please post any error messages you have been receiving, if any.

 

Thanks.

 

:)

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]

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.