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] => 1266c8efd13b8189d67602fa286f476d
[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.44-cll-lve
[server_version] => 50644
[stat] => Uptime: 271502 Threads: 7 Questions: 120114789 Slow queries: 12 Opens: 2458231 Flush tables: 1 Open tables: 5000 Queries per second avg: 442.408
[sqlstate] => 00000
[protocol_version] => 10
[thread_id] => 1572267
[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.