i have this on my mysql database
email have 5 value
user have 15 value
how can i loop the email with something like this
email user
ya1@yahoo.com user1
ya2@yahoo.com user2
ya3@yahoo.com user3
ya4@yahoo.com user4
ya5@yahoo.com user5
ya1@yahoo.com user6
ya2@yahoo.com user7
ya3@yahoo.com user8
--------------------
and so on....
using the php foreach…
something like when the users loop the email value will loop also and when it reach the end of the value of the email the email will start again to the first ya1@yahoo.com
is it possible to work on this on foreach or do it as a while?
Test: http://codepad.org/R5PpAKQW