[eluser]CappY[/eluser]
I'm developing my project with winamp plugin and CI for website. I have someclass and somemethod and somemethod accept arguments $user, $key, $artist, $title, $album, $year, $genre.
Soo the problem is that $album, $year and $genre sometimes will be empty. But if $year is empty $genre goes as $year argument. Any way to fix this without needing to hack plugin to send something like n/a and in CI if ($year = 'n/a') die(); ?
Thanks.
Edit: so far before I started rewriting on CI it was with $_GET['album'] and etc. script.php?album=something&year=something and so on.
it look like that:
Karas/Fenomeno///genre/