Saya pikir ini
$query = "INSERT INTO tblGames (name, description, image) VALUES ($name, $description,". $target_path .")";
seharusnya
$query = "INSERT INTO tblGames (name, description, image) VALUES ('$name', '$description', '". $target_path ."')";