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

[_POST] => Array
(
)

[_COOKIE] => Array
(
)

[_FILES] => Array
(
)

[page_title] => Coffee - Wouldn't You Love a Cup Right Now?
[dbc] => mysqli Object
(
[affected_rows] => -1
[client_info] => 5.6.42
[client_version] => 50642
[connect_errno] => 0
[connect_error] =>
[errno] => 1305
[error] => PROCEDURE ecommerce2php.select_sale_items does not exist
[error_list] => Array
(
[0] => Array
(
[errno] => 1305
[sqlstate] => 42000
[error] => PROCEDURE ecommerce2php.select_sale_items 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: 251409 Threads: 13 Questions: 115239050 Slow queries: 1626 Opens: 2213919 Flush tables: 1 Open tables: 5000 Queries per second avg: 458.372
[sqlstate] => 00000
[protocol_version] => 10
[thread_id] => 1654363
[warning_count] => 0
)

[r] =>
)

)

)

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

)

[2] => Array
(
[file] => /home/fredtbx1/public_html/phpperc7/ex2/html/index.php
[line] => 20
[args] => Array
(
[0] => /home/fredtbx1/public_html/phpperc7/ex2/html/views/home.html
)

[function] => include
)

)

Welcome to Our Online Coffee House!

We're so glad you made it. Have a seat. Let me get you a fresh, hot cup o' Joe. Cream and sugar? There you go.

Please use the links at the top to browse through our catalog. If you've been here before, you can find things you bookmarked by clicking on your Wish List and Cart links.

About Clever Coffee, Inc.

Clever Coffee, Inc. has been selling coffee online since 1923. For years, Clever Coffee, Inc. failed to make a profit, due to the lack of computers and the Internet. Yadda, yadda, yadda.

It's safe to shop here, promise!