# Grid of php

**URL:** <https://forum.kirupa.com/t/grid-of-php/163443>\
**Category:** programming\
**Created:** [September 22, 2005, 2:10pm UTC](https://forum.kirupa.com/t/grid-of-php/163443 "2005-09-22T14:10:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bunker](https://avatars.discourse-cdn.com/v4/letter/b/8edcca/32.png) [@bunker](https://forum.kirupa.com/u/bunker)\
**Post date:** [September 22, 2005, 2:10pm UTC](https://forum.kirupa.com/t/grid-of-php/163443/1 "2005-09-22T14:10:42Z")

</div>

Allright, I will try to explain.

I am building something like kirupa ville where I ahve got this table which covers all the page, and than a div with 100% width and 100% height (which extends itself to all the space in the table).

Because the map is isometric, when I try to place the little houses I get some problems of intersection, so I would like to know how to to set the positions of each little house.

Also I have another problem:

I recall the house array from a mysql database. how do i set in a while statment that house number one must show on position x,y, house number two must show on position x2, y2, and than go down and start again?

I will include a picture which is taken from [www.isocity.com](http://www.isocity.com) and which I am using as an example…

Thanks a lot in advance for any advice. :wasted:
