ok I put everything back the way it was and added
foreach($id as $key=>$value) {
for ($i=0; $i<$value; $i++) {
echo "$sql<BR>\n";
$sql = "UPDATE customers
SET
b_hbday = '{$b_hbday[$key]}'
WHERE id = '$value'
";
and I added another record so we have 3,4,&5 now. when i check 3 it updates fine but when I update 5 only I get this
UPDATE customers SET b_hbday = 'Y' WHERE id = '3'
UPDATE customers SET b_hbday = 'Y' WHERE id = '3'
UPDATE customers SET b_hbday = 'Y' WHERE id = '3'
UPDATE customers SET b_hbday = '' WHERE id = '4'
UPDATE customers SET b_hbday = '' WHERE id = '4'
UPDATE customers SET b_hbday = '' WHERE id = '4'
UPDATE customers SET b_hbday = '' WHERE id = '4'
UPDATE customers SET b_hbday = '' WHERE id = '5'
UPDATE customers SET b_hbday = '' WHERE id = '5'
UPDATE customers SET b_hbday = '' WHERE id = '5'
UPDATE customers SET b_hbday = '' WHERE id = '5'
hope i didn't make things worse.