Jump to content

Member Login not connecting to Mysql table correctly, HELP would be appreciated!


steveo814

Recommended Posts

Hey there,

 

First time using MySQL database to connect to a member login.  I have a paid subscription site through ccbill which they add the username and logins to.  I have setup a database, username and password as well as a table that I have connected correctly "I believe" to my website but get this message:  warning: MySQL-fetch_array()expects parameter 1 to be resource, Boolean given in /home....

 

My table I have setup just has username and password to authenticate the users, which I was told by ccbill is all I need.  Maybe I need authentication 1 or 0 etc.

Any help on this would be amazing.  Spent hours trying to figure this out but nothing.

 

Thanks for your time.

 

Steven

Link to comment
Share on other sites

Your first reply was most accurate.  That message constantly appears for every new user of this technology.

 

Show us the code from your query statement, your query execution and your handling of the response/results.  As suggested, you should (during development!!) show the results of mysqlI_error when checking if the query runs ok (you do do that ?).  And of course you should NOT be using any function starting with MySQL only - that interface is deprecated which you should have noticed in the manual.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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