Here is what I want to do, I am trying to design a fairly complicated mysql database, and I would like to hear some ideas from the community of how to go about this particular funtion I need php and mysql to do.
Areas of land will have their own unique number associated with it. What I want to do is in mysql, define the individual lands attributes, and in it define the neighboring lands for use in the php script later to send spies or go to war. As they can only do this to neighboring lands.
It's pretty much a primitive map system.
The only thing is, I am not sure how to go about it.
If you could, please give me an example of the mysql syntax you would use and how you might parse that in the php so that they are turned into variables to be used for output to the user of what options are available to them. Also, I hope going about it this way would ignore all other lands except the defined neighboring lands. I figure this might cut down on resources on the server.
I could be way off, or overthinking it. That happens alot especially when your as loopy as I am right now (coding for a solid week now)
Thanx!