How do I do that?
I have a table with,at the moment, 3 members. For each one of these members I want to add a row to another table. Should I use a while inside a while? Or a Foreach loop?
This is what I have so far.
$sql = "SELECT email FROM members";
$query = mysql_query($sql);
while ($row = mysql_fetch_assoc($query)){
// Do I add a new while in here? Do I use a for loop?
}
based on your table info :