Ok, the scenario looks like this. If all three matches the XXX,YYY,ZZZ then a big chunk of code will be started.
if ($startett[0]=="XXX" && $startett[1]=="YYY" && $start[3]=="ZZZ") {
alot of code here... }
But I want the same big chunk of code should start when $startett[0] is WWW, and not XXX and if $startett[0] is WWW I want the three next line to be runed but NOT when $startett[0] is = "XXX".
if ($startett[0]=="WWW") {
$cbborta = strpos ($description, "hello");
$cbaway = substr ("$description", $cbborta);
$start = split ("\n", $cbaway);
alot of the same code here....}
Any suggestions who this could be solved?
Thanks.