SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist
    Join Date
    Jan 2005
    Location
    bahrain
    Posts
    553
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up check for repeated numbers in an array

    hi

    i am reading data form excsl sheet in which first column is mobile numbers.

    and then in a loop storing them one by one in databse table.

    now i want to have a check that reapeated mobile numbers should not be entered in table.wht should i do to have this check? is thier sny function for this?
    i was thinking to store mobile numbers in an aray and checking them. but i think it will take a bit of time.but if no other solution then how can i check in this manner also???
    its urgent plzzz.....
    regards
    phphelp

  2. #2
    Chessplayer kleineme's Avatar
    Join Date
    Apr 2004
    Location
    Germany
    Posts
    608
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    see the manual
    Never ascribe to malice,
    that which can be explained by incompetence.
    Your code should not look unmaintainable, just be that way.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •