Arrays

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Guys/Gals,
If I have an multidimensional array and it has items that have the same name in it, how do I get the values of each similar item?

EG:

specialservices => array(
	specialservice => array(
		serviceid => 1,
		servicename=> signature required,
		price => $4.95
	),
	secialservice => array(
		serviceid => 15,
		servicename => return receipt,
		price => $2.30
	)
)

How do I get the prices for each? What would be the best way to do this?
Can I utilize the serviceid to do this somehow?
It is always going to be different per specialservice.

TIA,

Best,

Karl DeSaulniers
Design Drumm
http://designdrumm.com


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux