Complex if() else() (well for me its)

hi, :kommie:pians

wel im strugeling a bit here… im not a genius in php but im managing so far… problem is i have a real tricky if else to figure out now… can anyone help

ok i have to link (imdb and moviemeter) the script needs to figure out if my link is to be used with a imdb or with moviemeter and els its not to link at all… hoop u understand what im going for… :S:S

$pieces[10] reads tabel 10 from a *.cvs file the data from that file is eighter TT0… or 1234 or <nothing> how am i gonne do this with if/else? :h: :ear: