Revision #3 was created by Boaz on Sep 10, 2012, 9:28:08 AM.
added flash messages upon success
Content
[...]
$success_saving_all = false;
}
if ($success_saving_all) {
// everything's done. Would you believe it?! Go to 'view' page :) $success_msg = (count($songs_to_save) > 0) ? "Artist and song records has been created successfully!" : "Artist record has been created successfully!";
if ($success_saving_all) { $success_msg = (count($songs_to_save) > 0) ? "Artist and song records have been updated" : "Artist record have been updated";