powerwer
Новичок
привет всем.
у меня все время выводит ошибку вот на этой строке - </table>", $myrow ['familiya_o'], $myrow['imya_o'], $myrow['ochestvo_o'], $myrow['strana_o'], $myrow['gorod_o']);
когда вывожу без таблицы то все нормально а когда загружаю все в таблицу то ошибка.
где может быть ошибка?
вот сам исходник
<?php
$result = mysql_query ("SELECT familiya_o, imya_o, ochestvo_o, strana_o, gorod_o, mail_o FROM poisk", $db);
$myrow = mysql_fetch_array ($result);
do {
printf("
<table width='100%' border='0'>
<tr>
<th width='49%' height='130' align='left' valign='top' scope='row'>
<table width='90%' border='0' align='center' cellpadding='0' cellspacing='0'>
<tr>
<th width='69%' align='left' valign='top' scope='col'><table width='100%' border='0'>
<tr>
<th class='style11' scope='col'><div align='left' class='style8'>Фамилия -s%</div></th>
</tr>
<tr>
<th class='style11' scope='col'><div align='left' class='style8'>Имя -s%</div></th>
</tr>
<tr>
<th class='style11' scope='col'><div align='left' class='style8'>Отчество -s%</div></th>
</tr>
<tr>
<th class='style11' scope='col'><div align='left' class='style8'>Страна -s%</div></th>
</tr>
<tr>
<th class='style11' scope='col'><div align='left' class='style8'>Город -s%</div></th>
</tr>
<tr>
<th class='style11' scope='col'><div align='left' class='style8'>Е-mail</div></th>
</tr>
<tr>
<th class='style11' scope='col'><div align='left' class='style8'>Контактный номер</div></th>
</tr>
</table></th>
<th width='31%' scope='col'><img src='%s' width='91' height='110'></th>
</tr>
<tr>
<td><p class='style9'> О себе</p>
</td>
<td align='center'> </td>
</tr>
</table> </th>
<th width='2%' align='left' valign='top' scope='row'><p> </p>
<p><img src='images/up1.png' width='50' height='50'></p></th>
<th width='49%' align='left' valign='top' scope='row'><table width='90%' border='0' align='center' cellpadding='0' cellspacing='0'>
<tr>
<th width='69%' align='left' valign='top' scope='col'><table width='100%' border='0'>
<tr>
<th class='style5' scope='col'><div align='left' class='style8'><span class='style6'>Фамилия</span></div></th>
</tr>
<tr>
<th class='style5' scope='col'><div align='left' class='style8'><span class='style7'>Имя</span></div></th>
</tr>
<tr>
<th class='style5' scope='col'><div align='left' class='style8'><span class='style7'>Отчество</span></div></th>
</tr>
<tr>
<th class='style5' scope='col'><div align='left' class='style9'>г.рождения</div></th>
</tr>
<tr>
<th class='style5' scope='col'><div align='left' class='style9'>Жил</div></th>
</tr>
<tr>
<th class='style5' scope='col'><div align='left' class='style9'>Учился(лась)</div></th>
</tr>
<tr>
<th class='style5' scope='col'><div align='left' class='style9'></div></th>
</tr>
</table></th>
<th width='31%' scope='col'><img src='%s' alt='' width='91' height='110'></th>
</tr>
<tr>
<td><span class='style9'>О нем (ней)</span></td>
<td align='center'> </td>
</tr>
</table></th>
</tr>
</table>", $myrow ['familiya_o'], $myrow['imya_o'], $myrow['ochestvo_o'], $myrow['strana_o'], $myrow['gorod_o']);
}
while ($myrow = mysql_fetch_array($result));
?>
у меня все время выводит ошибку вот на этой строке - </table>", $myrow ['familiya_o'], $myrow['imya_o'], $myrow['ochestvo_o'], $myrow['strana_o'], $myrow['gorod_o']);
когда вывожу без таблицы то все нормально а когда загружаю все в таблицу то ошибка.
где может быть ошибка?
вот сам исходник
<?php
$result = mysql_query ("SELECT familiya_o, imya_o, ochestvo_o, strana_o, gorod_o, mail_o FROM poisk", $db);
$myrow = mysql_fetch_array ($result);
do {
printf("
<table width='100%' border='0'>
<tr>
<th width='49%' height='130' align='left' valign='top' scope='row'>
<table width='90%' border='0' align='center' cellpadding='0' cellspacing='0'>
<tr>
<th width='69%' align='left' valign='top' scope='col'><table width='100%' border='0'>
<tr>
<th class='style11' scope='col'><div align='left' class='style8'>Фамилия -s%</div></th>
</tr>
<tr>
<th class='style11' scope='col'><div align='left' class='style8'>Имя -s%</div></th>
</tr>
<tr>
<th class='style11' scope='col'><div align='left' class='style8'>Отчество -s%</div></th>
</tr>
<tr>
<th class='style11' scope='col'><div align='left' class='style8'>Страна -s%</div></th>
</tr>
<tr>
<th class='style11' scope='col'><div align='left' class='style8'>Город -s%</div></th>
</tr>
<tr>
<th class='style11' scope='col'><div align='left' class='style8'>Е-mail</div></th>
</tr>
<tr>
<th class='style11' scope='col'><div align='left' class='style8'>Контактный номер</div></th>
</tr>
</table></th>
<th width='31%' scope='col'><img src='%s' width='91' height='110'></th>
</tr>
<tr>
<td><p class='style9'> О себе</p>
</td>
<td align='center'> </td>
</tr>
</table> </th>
<th width='2%' align='left' valign='top' scope='row'><p> </p>
<p><img src='images/up1.png' width='50' height='50'></p></th>
<th width='49%' align='left' valign='top' scope='row'><table width='90%' border='0' align='center' cellpadding='0' cellspacing='0'>
<tr>
<th width='69%' align='left' valign='top' scope='col'><table width='100%' border='0'>
<tr>
<th class='style5' scope='col'><div align='left' class='style8'><span class='style6'>Фамилия</span></div></th>
</tr>
<tr>
<th class='style5' scope='col'><div align='left' class='style8'><span class='style7'>Имя</span></div></th>
</tr>
<tr>
<th class='style5' scope='col'><div align='left' class='style8'><span class='style7'>Отчество</span></div></th>
</tr>
<tr>
<th class='style5' scope='col'><div align='left' class='style9'>г.рождения</div></th>
</tr>
<tr>
<th class='style5' scope='col'><div align='left' class='style9'>Жил</div></th>
</tr>
<tr>
<th class='style5' scope='col'><div align='left' class='style9'>Учился(лась)</div></th>
</tr>
<tr>
<th class='style5' scope='col'><div align='left' class='style9'></div></th>
</tr>
</table></th>
<th width='31%' scope='col'><img src='%s' alt='' width='91' height='110'></th>
</tr>
<tr>
<td><span class='style9'>О нем (ней)</span></td>
<td align='center'> </td>
</tr>
</table></th>
</tr>
</table>", $myrow ['familiya_o'], $myrow['imya_o'], $myrow['ochestvo_o'], $myrow['strana_o'], $myrow['gorod_o']);
}
while ($myrow = mysql_fetch_array($result));
?>