I'm trying to make a connection from a Navision 3.56 database to a website through ODBC and PHP.
I've managed to create a System DSN and tested it with MS Excel XP and it works fine.
But when i try to connect to my SystemDSN using PHP nothing happens... :?:
no error message. It just takes forever to load the webpage into IE and eventually it is timed out.
Here's my PHP code:
$db = odbc_connect("SysNavi","",""); // password and user not defined
$SQLresult = odbc_do($db, "SELECT Nummer, Navn FROM Kreditor");
$num = odbc_result($SQLresult,1);
$name = odbc_result($SQLresult,2);
echo "number: " + $num + "name: " + $name;
any help would be appreciated....