in reply to help manipulating data in an array.

The reason for the error message is that when you performed the @number=<CINGULAR>;, you read the entire list into an array. This means you might have something like:

$number[0] = '888-555-1212' $number[1] = '666-555-3456' $number[2] = '123-555-9432'

More likely what you intended in your if statement was something $number[$count] rather than @number, as this would allow you to loop thru the elements.

Hope that helps.