What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » PHP trouble

PHP trouble
Author: Message:
J-Thread
Full Member
***

Avatar

Posts: 467
Reputation: 8
– / Male / –
Joined: Jul 2004
RE: PHP trouble
You are sure that it isn't declared within a function? Or do you try to use it in a function?

How about doing a really simple test. Make two files, test1.php and test2.php. In test2.php you do something with $sqlObj, very basic.

In test1.php you make the object like above and do:
code:
require("test2.php");

Still doesn't work? Then you should look to the server setting. Does it work now? Then it's your code. Maybe you did define or use it within a function. Use "global $sqlObj;" then.
02-11-2006 11:02 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
PHP trouble - by brian on 02-11-2006 at 09:33 PM
RE: PHP trouble - by J-Thread on 02-11-2006 at 11:02 PM
RE: PHP trouble - by rav0 on 02-12-2006 at 08:10 AM
RE: PHP trouble - by WDZ on 02-12-2006 at 08:30 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On