Warning: Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in /home/frontalctx/frontalcortex.com/deck/rating_display.php on line 35

Fatal error: Uncaught Error: Call to undefined function mysql_query() in /home/frontalctx/frontalcortex.com/deck/rating_display.php:93 Stack trace: #0 /home/frontalctx/frontalcortex.com/deck/rating_display.php(45): get_average_rating('1046') #1 {main} thrown in /home/frontalctx/frontalcortex.com/deck/rating_display.php on line 93