Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

select specific items from an array 1

Status
Not open for further replies.

mufka

ISP
Dec 18, 2000
587
US
I have the following array
Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 [4] => 5 )

I need, for example, to set $var to the value in index 2 (in this case 3). Is that possible?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top