odbc_connect returns null

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
carstos
Forum Newbie
Posts: 1
Joined: Fri Sep 20, 2002 7:51 am

odbc_connect returns null

Post by carstos »

Hello,

I want to connect with a database access using odbc_connect.
DSN is good.
But this code:

<?php
echo($id=odbc_connect("DSN_NAME","",""));
?>

The result is null, nothing. No connection id is returned and no error displayed. WHY? I really don't understand.
Please help.
Post Reply