
jasont8
Members-
Content Count
6 -
Joined
-
Last visited
Community Reputation
0 NeutralAbout jasont8
-
Rank
Newbie
-
There is something about php that I have trouble understand coming from using javascript like angular. How does routing in php work exactly? Like how does a php site know about going to a link (/browse/coffee/Dark+Roast/2) or a shop/product link. How does the htacess file works with the site. Currently, when going to a link the /shop/coffee, it responds by not found. I tried to look it up but I don't understand it per say as it different from the way I normally do it in javascript. <body id="page1"> <!-- header --> <div id="header"> <div class="container"&
-
Wishlist.php Error?
jasont8 replied to jasont8's topic in Effortless E-Commerce with PHP and MySQL (2nd Edition)
thank you, I been wondering what was the error for the longest time. -
Wishlist.php Error?
jasont8 replied to jasont8's topic in Effortless E-Commerce with PHP and MySQL (2nd Edition)
so i look at the myphpadmin to check that I have the stored procedures from the book and apparently I do. I'm still getting this error and I don't know why. An error occurred in script '/var/www/html/ex2/html/wishlist.php' on line 81: 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] => /var/www/html/ex2/html/wishlist.php [3] => 81 [4] => Array ( [_GET] => Array ( -
Wishlist.php Error?
jasont8 replied to jasont8's topic in Effortless E-Commerce with PHP and MySQL (2nd Edition)
looking though phpmyadmin, I don't have the tables for the wishlist like get_wish_list_contents, what are the tables required for the wishlist and how do I make them? -
Wishlist.php Error?
jasont8 replied to jasont8's topic in Effortless E-Commerce with PHP and MySQL (2nd Edition)
I'm currently using phpmyadmin if that counts but I'm not sure how to go about fixing this problem and I been stuck for a while. I just began using mysql. do you need to see the code? -
Wishlist.php Error?
jasont8 posted a topic in Effortless E-Commerce with PHP and MySQL (2nd Edition)
so when starting up the wishlist.php using the book scripts of the second site, I'm getting an error that An error occurred in script '/var/www/html/ex2/html/wishlist.php' on line 81: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given Array. what does this error and mean. How do I go about fix it? Is it a problem with the data in the database?