If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > PHP > php and ms access via on ubuntu 9.4

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-16-09, 04:26
snake_eyes snake_eyes is offline
Registered User
 
Join Date: May 2008
Posts: 9
php and ms access via on ubuntu 9.4

Hello,

I just prepared the server installed odbc, I configured the the required files as well , and here is the result:
Quote:
+---------------------------------------+
| Connected! |
| |
| sql-statement |
| help [tablename] |
| quit |
| |
+---------------------------------------+
SQL> select * from table;
now I made some small php code:

Code:
$conn = odbc_connect("DSN","","");
$select = "SELECT * FROM TABLE";
$result = odbc_exec($conn, $select);
while ($row = odbc_fetch_array($result))
{
    $rowid = $row['name1'];
    $pwd = $row['password'];
}
echo "Row id :".$rowid;
echo "password : ".$pwd;
now I'm facing a problem with I browse the file it download and ask me to save or open it, although the other projects with php and mysql are working fine.

Any idea gentleman?

Cheers,
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On