variables

A

Anonymous

Guest
Code:
$arr1 = array(“al”,”na”,”cl”,”pb”);

$bol_al = “abcd”;
$bol_na = “fghhd”;
$bol_cl = “fghdfg56”;

foreach($arr1 as $k => $v) {

$ddd = $bol_$v //don’t work

}

I want pass to variable $ddd the value of $bol_...

How can I do that?
 
Strange quotes....
Fuul code please...
and what's is $bol_$v? where is you get this?
 
Back
Top