in reply to array search on mysql result

> check new number already exist or not

why can't you use a WHERE-clause in SQL?

Seems off topic here...

Cheers Rolf

(addicted to the Perl Programming Language and ☆☆☆☆ :)