$_POST['gamename'], 'System' => $_POST['system'], 'Vendor' => $_POST['vendor'], 'Comment' => $_POST['comment'], 'Rating' => $_POST['rating'], 'Description' => $_POST['description'], 'link' => $_POST['link'] ]; // Read existing data from file $games = readDataFromFile($dbFile); // Add the new entry $games[] = $newEntry; // Write the updated data to file writeDataToFile($games, $dbFile); } else { // Read data from file $games = readDataFromFile($dbFile); } ?>
Gamename System Vendor Comment Rating Description Link