Warning: Undefined variable $site_code in C:\Apache24\htdocs\test\show_house_status_key2.php on line 13
Warning: pg_query(): Query failed: ERROR: syntax error at end of input
LINE 1: SELECT * FROM site WHERE site_code=
^ in C:\Apache24\htdocs\test\show_house_status_key2.php on line 14
Fatal error: Uncaught TypeError: pg_fetch_assoc(): Argument #1 ($result) must be of type PgSql\Result, false given in C:\Apache24\htdocs\test\show_house_status_key2.php:15
Stack trace:
#0 C:\Apache24\htdocs\test\show_house_status_key2.php(15): pg_fetch_assoc(false)
#1 {main}
thrown in C:\Apache24\htdocs\test\show_house_status_key2.php on line 15