![]() |
|
|
#4 |
|
Архивный участник
Join Date: Feb 2007
Posts: 139
|
вместо for ($x=0;$items[$x]=mssql_fetch_assoc($result);$x++);
попробуй использовать while($items=mssql_fetch_array($result)) { можно еще исправить $items_found = false; for ($i=0; $i<count($items); $i++) { $items_found = true; юзать просто if (empty($items)) { echo '<tr><td colspan="3" class="n-cell b-blr p-2 ac">Вещей нет</td></tr>'; |
|
|
|
|