working with arrays
- by user295189
I currently do a query which goes through the records and forms an array.
the print_r on query gives me this
print_r($query) yields the following:
Array (
[0] =  ( [field1] = COMPLETE [field2] = UNKNOWN [field3] = Test comment )
[1] =  ( [field1] = COMPLETE [field2] = UNKNOWN [field3] = comment here ) 
[2] =  ( [field1] = COMPLETE [field2] = UNKNOWN [field3] = checking ) 
[3] =  ( [field1] = COMPLETE [field2] = UNKNOWN [field3] = testing ) 
[4] =  ( [field1] = COMPLETE [field2] = UNKNOWN [field3] = working )
)
somehow I want to take this array and convert it back to php. So for example some thing like this
$myArray = array( ...)
then $myArray should yield the samething as the print_r($query) yeilds.
Thanks