<?php
$sql = array("inUserID" => "lemon", "inCustID" => "orange", "btAll" => "banana", "btPermPref" => "apple", "inDisplay"=>"toast");
function pram_alter($array, $key)
{
//echo implode(',', each($array));
reset($array);
while (list($key, $val) = each($array)) {
// echo "$key => $val\n";
echo "exec SOMEVAR $key ='" . $val . "',.";"";
}
}
$temp=array(pram_alter($sql, 'pram_alter'));
?>
preferences:
35.93 ms | 402 KiB | 5 Q