RandyC Posted August 7, 2009 Share Posted August 7, 2009 So I'm new to creating modules for WHMCS and I am trying to connect to the WHMCS database and I am having issues with displaying data from the database. I have included the dbconnect.php but I cant seem to get the php to work. It doesnt even show up on the page. even if i just put a simple echo with regular text nothing shows up. Any Idea? 0 Quote Link to comment Share on other sites More sharing options...
lysenshi Posted August 8, 2009 Share Posted August 8, 2009 I think you don't need to include dbconnect.php if you're trying to query the database inside a module, because WHMCS should be already established a connection with the DB. I wrote a registrar module, and that's how I used it. 0 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.