Hi guys,
Thanks for reading this. I desperatley need help with this error. I
just finished a huge project thats taken me months, my code works, but the
code its attached to has an error. The project is due Monday and naturally
enough the guy who wrote the code with the error is gone on holiday for the
weekend- typical.
Does anyone know what the hell Resource id's are, and why they are showing
up in my array instead of good ol fashioned numbers?
My array goes (correct)into a function looking like this :
Array ( [0] => Array ( [0] => -1 [1] => 1 [2] => 1 [3] => 1 ) [1] => Array (
[0] => -2 [1] => 2 [2] => 2 [3] => 10 [4] => 2 ) [2] => Array ( [0] => -3
[1] => 3 [2] => 3 [3] => 9 ) ) Array ( [0] => Array ( [0] => -4 [1] => 4 [2]
=> 4 [3] => 4 ) [1] => Array ( [0] => -5 [1] => 5 [2] => 5 [3] => 5 ) [2] =>
Array ( [0] => -6 [1] => 6 [2] => 6 [3] => 6 ) )
and comes out looking like this:
Array ( [0] => Array ( [0] => Resource id #5 [1] => Resource id #8 [2] => 1
[3] => 1 ) [1] => Array ( [0] => Resource id #16 [1] => Resource id #17 [2]
=> 2 [3] => 10 [4] => 2 [5] => ) [2] => Array ( [0] => Resource id #24 [1]
=> Resource id #25 [2] => 3 [3] => 9 ) ) Array ( [0] => Array ( [0] =>
Resource id #35 [1] => Resource id #36 [2] => 4 [3] => 4 ) [1] => Array (
[0] => Resource id #44 [1] => Resource id #45 [2] => 5 [3] => 5 ) [2] =>
Array ( [0] => Resource id #53 [1] => Resource id #54 [2] => 6 [3] => 6 ) )
The Resource id #'s only go into the first two places in the end(third)
arrays.
I'd really appreciate help with this
Thanks a million
_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail.
http://www.hotmail.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php