View Single Post
Old 08-09-2005   #7
Nickatilynx
Banned
Want to see your own Advertising Here!
 
Nickatilynx's Avatar
 
Join Date: Oct 2002
Location: Vancouver Canada
Posts: 15,115
Default Re: Some php help if you wouldn't mind...pretty easy

Quote:
Originally Posted by sarettah
I looked. I don't see anything wrong there (or at least anything that souldn't work from a quick glance)

But, you said that "it brings up some mysql errors, and won't let certain things access the database correctly" when you place it where you want it.

That sounds to me like something in the cnt.php is conflicting somewehere.

Is the cnt.php using calls to the same MYSql connection as the main script, or is it creating a new connection to pull from ?

Does the cnt.php script possibly close the existing MYSql connection ?

Have you tried placing the cnt.php into the same folder as the main script and calling it from there (without the full pathing) ?

Another way to debug stuff like this is to make a copy of the main, cut and paste all of the cnt.php into the copy exactly where you want it and see if it works, if nothing else it might pop a more accurate error for you.

If you want to zap a copy of cnt.php to me I will take a look and see if I can see anything glaring out at me
See they let you out of the "Home for the Elderly or Generally Bewildered" early today...

;-)))
Nickatilynx is offline   Reply With Quote