i am adapting this code to Mysqli, but is gives an error, i cannot see the error, please help.
$sql = "INSERT INTO test_xml ('title', 'artist', 'duration') VALUES ('$title', '$artist', '$duration')";
$result = mysqli_query($con, $sql);
the old code worked good:
$sql = "INSERT INTO `test_xml` (`title`, `artist`, `duration`)"
. "VALUES ('$title', '$artist', '$duration')";
$result = mysql_query($sql);