hi everyone,
i need help on this issue,
i have an array and i would build something like this:
for ($obj in $target["a","b","c"]
{
if ($obj=$target["a"])
{$msg="caution";}
elsif($obj=$target["b"])
{$msg="alert";}
else {$msg="warning";}
foreach ($goal as $obj)
{
print $goal;
print $msg;
}
wich is the correct syntax?
Is there a way to code it fatest?
Thank's a lot in advance and sorry for my English!!!!!!!