<?php $res = ADAO::getMatrimonySearchResults($key, $cat, $city); ?> <table width="1000" border="0" cellspacing="0" cellpadding="0"> <tr> <td><img src="images/bodytop.jpg" width="1000" height="8" /></td> </tr> <tr> <td background="images/bodybg.jpg"><table width="980" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="619"> <?php foreach ($res as $row) { $det = ADAO::getUserdetailsById($row['user_id']); ?> <table width="600" border="0" align="left" cellpadding="0" cellspacing="0"> <tr> <td width="600" height="112"><table width="590" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="5" colspan="3"><img src="images/searchbartop.jpg" width="590" height="6" /></td> </tr> <tr> <td width="2" height="110" background="images/searchbarlft.jpg"></td> <td width="586" height="110" background="images/searchbarbodybg.jpg"><table width="570" height="100" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="163" rowspan="2"><img src="<?php echo $row['profile_pic']; ?> " height="100px" width="126px" border="0" /></td> <td width="407" height="33"><table width="400" border="0" align="center" cellpadding="0" cellspacing="0">