I’m trying a project for a client similar to a pixel ad site, I created a script that captures the x,y co-ordinates along with the width and height of the square created.
I’m at the stage where i need to perform a check on new purchases to make sure they do not select an area that has already been sold.
But I can not figure out how best to perform the check. The user should not be able to create an advert that falls within the any purchased areas of the grid.
But just having the x,y co-orindate and the width and height I can’t seem to get to grips with how to use these to list all the grids in the squares that are taken. Does this make sense?
If anyone thing they can help or need more info please reply or msn me at -removed-, thanks
Mod Edit: Removed email address