How can i open an access database with php for writing?

Discussion in 'PHP' started by Mehdi Jazini, Apr 11, 2008.

  1. #1
    Hi, i have a source code about openning a Microsoft Access Database by php. but i think this source is only about openning as read.

    How can i open it as write by php. and how can i make a command to delete one of the recods. you can see my sample:

    
    
     $connect = odbc_connect($users_odbc,$user_db,$u_odbc_pass);
     $q1 = "select * from TAC_USR where TAC_ID='$username' and TAC_Attr = '[Global]Passwd' and tac_val = '$password'" ;
    
    
    Code (markup):

     
    Mehdi Jazini, Apr 11, 2008 IP
  2. only1idea

    only1idea Peon

    Messages:
    46
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    try an insert statement to see if it's only for read or for read/write
     
    only1idea, Apr 12, 2008 IP