An error occurred in script '/home/fredtbx1/public_html/phpperc7/ex2/html/cart.php' on line 82:
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] => /home/fredtbx1/public_html/phpperc7/ex2/html/cart.php
[3] => 82
[4] => Array
(
[_GET] => Array
(
)

[_POST] => Array
(
)

[_COOKIE] => Array
(
)

[_FILES] => Array
(
)

[uid] => 8beeb6ff2457ff7c28897011d4c4c107
[page_title] => Coffee - Your Shopping Cart
[dbc] => mysqli Object
(
[affected_rows] => -1
[client_info] => 5.6.42
[client_version] => 50642
[connect_errno] => 0
[connect_error] =>
[errno] => 1305
[error] => PROCEDURE ecommerce2php.get_shopping_cart_contents does not exist
[error_list] => Array
(
[0] => Array
(
[errno] => 1305
[sqlstate] => 42000
[error] => PROCEDURE ecommerce2php.get_shopping_cart_contents does not exist
)

)

[field_count] => 0
[host_info] => Localhost via UNIX socket
[info] =>
[insert_id] => 0
[server_info] => 5.6.43-cll-lve
[server_version] => 50643
[stat] => Uptime: 19117 Threads: 19 Questions: 6732446 Slow queries: 1 Opens: 150409 Flush tables: 1 Open tables: 5000 Queries per second avg: 352.170
[sqlstate] => 00000
[protocol_version] => 10
[thread_id] => 99501
[warning_count] => 0
)

[r] =>
)

)

)

[1] => Array
(
[file] => /home/fredtbx1/public_html/phpperc7/ex2/html/cart.php
[line] => 82
[function] => mysqli_num_rows
[args] => Array
(
[0] =>
)

)

)

Your Shopping Cart

Your shopping cart is currently empty.