18.06.2015, 14:00
The easier way to do is case
PHP код:
switch(listitem)
{
case 0: //Item 1
{
//Your Code
}
case 1: //Item 2
{
//Your Code
}
//etc.