Warning: include(dbc.php): Failed to open stream: No such file or directory in /home/kwmierow/public_html/week7/testinsert2.php on line 4
Warning: include(): Failed opening 'dbc.php' for inclusion (include_path='.:/opt/cpanel/ea-php83/root/usr/share/pear') in /home/kwmierow/public_html/week7/testinsert2.php on line 4
Warning: Undefined variable $dbc in /home/kwmierow/public_html/week7/testinsert2.php on line 10
Fatal error: Uncaught TypeError: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, null given in /home/kwmierow/public_html/week7/testinsert2.php:10
Stack trace:
#0 /home/kwmierow/public_html/week7/testinsert2.php(10): mysqli_query(NULL, 'INSERT INTO use...')
#1 {main}
thrown in /home/kwmierow/public_html/week7/testinsert2.php on line 10