Say I have the following two arrays:
$array = Array("Julie","Clive","Audrey","Tom","Jim","Ben","Dave","Paul");
$mandt = Array(1,0,0,1,0,0,1,1);
The numbers signify whether the names are valid or not. 1 is valid 0 is not. I need to check through the names and echo their name and then "true" if the name is valid and "false" if it is not, i.e:
Julie: True
Clive: False
Audry: False
Etc...
Could anybody help me out please?
THanks.