By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,664 Members | 1,669 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,664 IT Pros & Developers. It's quick & easy.

match values of 2 arrays in smarty-urgent

P: 17
there are two arrays:

$players = array(
"23" => "Michael Jordan",
"32" => "Michael Johnson"
);

$current_player = array(
"player_id" => "23",
"age" => "22"
);

how can i get the name of the player with player_id 23

can anyone help me out?

thanks in advance.

fariba
Feb 19 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.