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

**URL:** <https://forum.kirupa.com/t/complex-if-else-well-for-me-its/150883>\
**Category:** Uncategorized\
**Created:** [June 11, 2005, 8:24am UTC](https://forum.kirupa.com/t/complex-if-else-well-for-me-its/150883 "2005-06-11T08:24:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sWo0p](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@sWo0p](https://forum.kirupa.com/u/sWo0p)\
**Post date:** [June 11, 2005, 8:24am UTC](https://forum.kirupa.com/t/complex-if-else-well-for-me-its/150883/1 "2005-06-11T08:24:38Z")

</div>

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:
