An error occurred in script '/home/fredtbx1/public_html/phpperc7/ex2/html/browse.php' on line 55:
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/browse.php
[3] => 55
[4] => Array
(
[_GET] => Array
(
[type] => coffee
[category] => Dark Roast
[id] => 2
)

[_POST] => Array
(
)

[_COOKIE] => Array
(
)

[_FILES] => Array
(
)

[category] => Dark Roast
[sp_cat] => 2
[type] => coffee
[page_title] => Coffee to Buy::Dark Roast
[dbc] => mysqli Object
(
[affected_rows] => -1
[client_info] => 5.6.39
[client_version] => 50639
[connect_errno] => 0
[connect_error] =>
[errno] => 1305
[error] => PROCEDURE ecommerce2php.select_products does not exist
[error_list] => Array
(
[0] => Array
(
[errno] => 1305
[sqlstate] => 42000
[error] => PROCEDURE ecommerce2php.select_products does not exist
)

)

[field_count] => 0
[host_info] => Localhost via UNIX socket
[info] =>
[insert_id] => 0
[server_info] => 5.6.39-cll-lve
[server_version] => 50639
[stat] => Uptime: 191200 Threads: 15 Questions: 67411294 Slow queries: 230 Opens: 1603457 Flush tables: 1 Open tables: 5000 Queries per second avg: 352.569
[sqlstate] => 00000
[protocol_version] => 10
[thread_id] => 955113
[warning_count] => 0
)

[r] =>
)

)

)

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

)

)

Dark Roast

Unfortunately there are no products to list in this category. Please use the links at the top of the page to continue shopping. We apologize for the inconvenience.