Warning: Undefined array key "tid" in /home/s717/WWW/Special_topic/group/try/a4.php on line 4
Warning: pg_query(): Query failed: ERROR: invalid input syntax for type integer: ""
LINE 1: SELECT count(*) from art where tid='';
^ in /home/s717/WWW/Special_topic/group/try/a4.php on line 5
Fatal error: Uncaught TypeError: pg_fetch_row(): Argument #1 ($result) must be of type resource, bool given in /home/s717/WWW/Special_topic/group/try/a4.php:6
Stack trace:
#0 /home/s717/WWW/Special_topic/group/try/a4.php(6): pg_fetch_row(false)
#1 {main}
thrown in /home/s717/WWW/Special_topic/group/try/a4.php on line 6