Just for cleaner code you should edit this if ($isid) { if ($inmp3) { to if ($isid) && ($inmp3) {
Just because you have no use for them to be seperated. Otherwise, good job :)