![]() |
Admin 5/13/2020 |
Make sure that in your header_footer table you have a record where page_name matches the current page name. This error happens because your SQL query returns no data. |
J
|
jacques author 5/13/2020 |
Make sure that in your header_footer table you have a record where page_name matches the current page name. This error happens because your SQL query returns no data.
|
![]() |
Admin 5/13/2020 |
Well, the error message says that $rs object is not created meaning that SQL query didn't return any results. You need to double-check the value of $_SESSION['page_name'] and that such a value exists in the database. I don't see any other reason and that would also explain why all other pages are working. Make sure you output the value of $_SESSION['page_name'] right before executing the SQL Query. |