04-13-2008, 12:21 PM
|
#4 (permalink)
|
|
The Wanderer
Join Date: Apr 2008
Posts: 12
Thanks: 7
|
You problem here is the complete lack of refrence from the DB and like i read it, you should change the way it's being written into the DB.
If there is more than one information on "Metal Information" or "Stone Information" there is no way to sort out what belong to where.
EX:
HTML Code:
Array
(
[0] => Array
(
[group] => Metal Information
[name] => Cut
[data] => Clear
)
[1] => Array
(
[group] => Metal Information
[name] => type
[data] => Strong
)
[2] => Array
(
[group] => Stone Information
[name] => Length
[data] => 4\"
)
[3] => Array
(
[group] => Stone Information
[name] => Color
[data] => White
)
[4] => Array
(
[group] => Stone Information
[name] => Width
[data] => 3\"
)
[5] => Array
(
[group] => Stone Information
[name] => Type
[data] => Diamond
)
[6] => Array
(
[group] => Metal Information
[name] => Cut
[data] => Rough
)
[7] => Array
(
[group] => Metal Information
[name] => type
[data] => Weak
)
)
In this case you would not know if the:
[group] => Metal Information | [name] => Cut | [data] => Clear
would go with:
[group] => Metal Information | [name] => type | [data] => Strong
or
[group] => Metal Information | [name] => type | [data] => Weak
Try posting how you write the data to the DB and the form being used by the user. Also post how your table looks...
Last edited by Durux : 04-13-2008 at 03:58 PM.
|
|
|
|