Forum Moderators: open
<html><body>
<?php
// very simple in PHP. Quicker to give you the code than explain it$keywords = array(
"keyword1",
"keyword2",
"keyword3",
"keyword4"// no comma here
);$countries = array(
"keyword1",
"keyword2",
"keyword3",
"keyword4"// no comma here
);foreach ($keyword as $kw) {
foreach ($country as $c) {
echo "$kw $c<br>\n";
}
}?>
</body></html>
If you put the "countries" in a column (i.e. cells A2 through A51) and put the "keywords" in a row (i.e. cells B1 through K1) and then in cell B2 you put =CONCATENATE(B$1," ",$A2) and then copy cell B2 and paste it into the big grid (i.e. B2 through K51).