Menu

#65 errors, nothing works

open
nobody
None
5
2012-06-07
2010-09-27
Anonymous
No

Once I log in, I get the following two errors at the top of the page:

Warning: mysql_numrows() expects parameter 1 to be resource, boolean given in C:\vhosts\practice\php_addressbook\index.php on line 36
Number of results: 0

Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\vhosts\practice\php_addressbook\include\address.class.php on line 247

I have tried entering data, but nothing goes into the database either. I have XAMPP 5.3.1 installed. I checked the config.php and created a database to match the values in this file.

I had a different address book installed which also used php and mySQL and it worked; it just didn't have a search capability, so I looked a little farther and found php_addressbook. This looks like a great application if I could just get it to work.

Discussion

  • chatelao

    chatelao - 2011-02-18

    Hi, have you been able to fix it?

     

Anonymous
Anonymous

Add attachments
Cancel