|
|
|||||||
Hi All, I know this is well off topic, but they is no other support like here and it is driving me mad. I have 2 lots of data that must stick together: Quote: Now I want to chuck that into a 2d array, but populate the data of the array via for statement. I can do it in KiX, but in PHP it don;t look like you can enter data into an 2d array from any other statement apart from when the array is created. The reason the two lots of data must stay together is because I will sort the points array and the fixturesID must sort with it. any help would be good. Thanks Rich |
||||||||
|
|
|||||||
See whether http://us2.php.net/array helps. |
||||||||
|
|
|||||||
associative or whatever it's called is the array type you most likely wanna play with. it's 2d and sortable. and if I recall correctly, php does have it |
||||||||
|
|
|||||||
I got round it in the end, all i had to do was: Code:
|
||||||||
|
|
|||||||
array($x,$x); that doesn't make sense. |
||||||||
|
|
|||||||
$x,$x was just for testing to see if it populated the 2d array. |