Is there any thing wrong with this array?
$selects = array(
"getmoney1" => $money["Dimes"],
"getmoney2" => $money["Nickels"],
"getmoney3" => $money["Quarters"]
);
I am learning, and I want to know more, and how to do it right.
Is there any thing wrong with this array?
$selects = array(
"getmoney1" => $money["Dimes"],
"getmoney2" => $money["Nickels"],
"getmoney3" => $money["Quarters"]
);
I am learning, and I want to know more, and how to do it right.
There is nothing wrong with this declaration. However it does assume the existence of an array named $money, and that $money["Dimes"], etc. are all set.
Syntactically nothing wrong, but what on earth would the point of it be?
The original array $money would be easier to work with, I suspect.
But I agree with the commenter above - not enough information to go on.