Jump to content
Larry Ullman's Book Forums

artslave

Members
  • Posts

    1
  • Joined

  • Last visited

artslave's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello Larry, On the coffee website, I got everything working and the database connection works, but when I click on the Wish LIst, add to cart or Cart button, I get the following error below. I wasn't sure if I have a setting wrong. I wasn't sure where to look at this point. Any direction would be helpful. Thank you in advance. In case you need to see the following location of my files and URL: // Determine location of files and the URL of the site: define ('BASE_URI', '/Applications/MAMP/htdocs/ecommerce/'); define ('BASE_URL', 'http://localhost:8888/ecommerce/html/'); define('MYSQL', BASE_URI . 'mysql.inc.php'); An error occurred in script '/Applications/MAMP/htdocs/ecommerce/html/wishlist.php' on line 80: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given Array( [0] => Array ( [function] => my_error_handler [args] => Array ( [0] => 2 [1] => mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given [2] => /Applications/MAMP/htdocs/ecommerce/html/wishlist.php [3] => 80 [4] => Array
×
×
  • Create New...