benjaminj88
08 Sep 2010, 07:44 PM
So here's what I'm trying to do. More or less I am building a map editor using php and mysql, now the table has the following columns: id, xAxis, yAxis, zAxis, type, contents. With those stated I was thinking and it would be much simpler to essentially have the cordinates create the unique id. So it would display like so: x:33;y21;z;-2;.
Here's what I am wondering though how exactly would I break it appart to use each axis point for displaying the map? Or should I just simply remain using the individual points in their own column and use an auto increment for the id?
Here's what I am wondering though how exactly would I break it appart to use each axis point for displaying the map? Or should I just simply remain using the individual points in their own column and use an auto increment for the id?