Because you initiated MySQL connection with MySQLi procedural method and you tried executing the query with OOP method that is why it keeps dying
Let your $con be
<?php $con = new MySQLi('db_host','db_dbuser','db_pwd','db_name');?>
or let your query execution be procedural
<?phpmysqli_query($con,$SQL) or die('error');?>