Help - Associative Array Woes

Hi all,

I’m a newbie to PHP and need some help. I want to grab values from 2 arrays to create a new associative array. Not sure how I should loop through this, can someone please help? Any suggestions or recommendations would be greatly appreciated, thanks =)

$ar1 = array(‘a’, ‘b’, ‘c’);
$ar2 = array(1, 2, 3);

$ar3 = array();

I want $ar3 to look like this:

$ar3 = array (
‘a’ => 1,
‘b’ => 2,
‘c’ => 3,
);