There are 2 list first a list containing names of females e.g. (sara, amanda,anna etc..)
also a list containing names of males ( nolan, chris,steven etc...)
I want to use php to make all possible mixtures of 2 names like (sara nolan, sara steven,amanda chris, anna steven etc...) put in mind that the first name has to be a female and the second a male, is it possible?
Help with array
Moderator: General Moderators
Re: Help with array
Put one foreach inside another. Doesn't matter which does the males and which does the females.