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] => goodies
[category] => Mugs
[id] => 3
)

[_POST] => Array
(
)

[_COOKIE] => Array
(
)

[_FILES] => Array
(
)

[category] => Mugs
[sp_cat] => 3
[type] => goodies
[page_title] => Goodies to Buy::Mugs
[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: 190488 Threads: 8 Questions: 67219868 Slow queries: 228 Opens: 1602246 Flush tables: 1 Open tables: 5000 Queries per second avg: 352.882
[sqlstate] => 00000
[protocol_version] => 10
[thread_id] => 952301
[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] =>
)

)

)

Mugs

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.