<?php foreach($country as $value && $lang as $value2 ){ echo<<<end <tr> <td align="center">$value </td> <td align="center">$value2</td> </tr> end; } ?>