<br />
<b>Warning</b>:  Undefined array key "user_id" in <b>/home/eduflix1/public_html/civilprocidure/api/save_score.php</b> on line <b>5</b><br />
<br />
<b>Warning</b>:  Undefined array key "chapter_id" in <b>/home/eduflix1/public_html/civilprocidure/api/save_score.php</b> on line <b>6</b><br />
<br />
<b>Warning</b>:  Undefined array key "score" in <b>/home/eduflix1/public_html/civilprocidure/api/save_score.php</b> on line <b>7</b><br />
<br />
<b>Fatal error</b>:  Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ' , ) 
        ON DUPLICATE KEY UPDATE best_score = GREATEST(best_score, )' at line 2 in /home/eduflix1/public_html/civilprocidure/api/save_score.php:14
Stack trace:
#0 /home/eduflix1/public_html/civilprocidure/api/save_score.php(14): mysqli-&gt;query('INSERT INTO use...')
#1 {main}
  thrown in <b>/home/eduflix1/public_html/civilprocidure/api/save_score.php</b> on line <b>14</b><br />
