52 users online (0 members and 52 guests)  


  Results 1 to 1 of 1

Related

  1. MS Access 2003 Database as exe file    Forum: Databases
    Replies: 1
  2. How to Decode the data from Database using database handler?    Forum: Search Engine Optimization - SEO - Forum
    Replies: 1
  3. search access database    Forum: ASP Forum
    Replies: 1
  4. database programming without database????    Forum: Javascript Forum
    Replies: 3
  1. #1
    bhavin12300's Avatar
    New User

    Status
    Offline
    Join Date
    Apr 2007
    Posts
    1

    database connectio with MS access

    hi
    i am building .pl script to get connect to database which is in MS access in windows
    but i am able to fetch data from it .it prints nothign.
    here is the code
    Code:
     
       $db="emaildb";
         
         $dbh=DBI->connect("dbi:ADO:$db",'','');
           
        $sq="select * from emaillists";
        $qry=$dbh->prepare($sq);
        $qry->execute();
         while(@data = $qry->fetchrow_array()){
             print  @data[1];
             }
    i have created DSN with this database in windows
    wating plzzzzzzzzzz
    Last edited by DeadMeatGF; 04-08-2007 at 06:40 AM. Reason: Added Code Tags



Tags for this Thread