Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php foreach(property_list('`rooms` LIKE "1(%"') as $item):?>
- <tr>
- <td><?=$item['rooms']?></td>
- <td><?=$item['area']?></td>
- // еще десяток ячеек с данными из БД
- </tr>
- <?php endforeach;?>
- <?php
- $i = 0;
- foreach(property_list('`rooms` LIKE "1(%"') as $item):?>
- <tr>
- <td><?=$item['rooms']?></td>
- <td><?=$item['area']?></td>
- <td>...</td>
- </tr>
- $i+=1;
- if (++i > 500) break;
- <?php endforeach;?>
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement