ggseven Posted April 16, 2007 Share Posted April 16, 2007 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] Quote Link to comment Share on other sites More sharing options...
HeyRay2 Posted April 16, 2007 Share Posted April 16, 2007 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. Quote Link to comment Share on other sites More sharing options...
ggseven Posted April 16, 2007 Author Share Posted April 16, 2007 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] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.