Thanks to all who helped with this problem. As it turns out, it was much stupider than one could suppose, just yet another demonstration that nobody should code more than a very few hours in a row...
The odbc_connect statement is nested in the whole PHP code in such a way (thanks to include, require, functions and such) that in the line where it is executed "odbc_connect($DSN ........)" the $DSN variable was out of scope. Declaring it global brought me to this poinrt Warning: SQL error: [unixODBC][TCX][MyODBC]Access denied for user: '@localhost' to database 'mbdb97', SQL state S1000 in SQLConnect in /test.php line 87 so now I still have to work a lot, but at least all the pieces are in place, and do talk to each other. Thank you again, mweb --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php