Jul 28, 2009 #1 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?
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?
Jul 28, 2009 1 #2 feherke Programmer Aug 5, 2002 9,541 RO Hi Like this ? PHP: [navy]$var[/navy][teal]=[/teal][navy]$your_arrays_name[/navy][teal][[/teal][purple]2[/purple][teal]];[/teal] Feherke. http://rootshell.be/~feherke/ Upvote 0 Downvote
Hi Like this ? PHP: [navy]$var[/navy][teal]=[/teal][navy]$your_arrays_name[/navy][teal][[/teal][purple]2[/purple][teal]];[/teal] Feherke. http://rootshell.be/~feherke/
Jul 28, 2009 Thread starter #3 mufka ISP Dec 18, 2000 587 US That's just stupidly simple. Thanks. Upvote 0 Downvote