これだと思います
$query = "INSERT INTO tblGames (name, description, image) VALUES ($name, $description,". $target_path .")";
する必要があります
$query = "INSERT INTO tblGames (name, description, image) VALUES ('$name', '$description', '". $target_path ."')";
これだと思います
$query = "INSERT INTO tblGames (name, description, image) VALUES ($name, $description,". $target_path .")";
する必要があります
$query = "INSERT INTO tblGames (name, description, image) VALUES ('$name', '$description', '". $target_path ."')";