Re: FW: [PHP-DB] problem connecting w/ODBC

2003-03-18 Thread Mark
Use "or" rather than "||" --- Beverly Steiner <[EMAIL PROTECTED]> wrote: > Hello again, > > Does anyone have suggestions about where I can get an answer to the > problems > I'm having with ODBC? I've tried using: > $cursor = odbc_cursor($connection) || die("cannot create cursor"); > > an

FW: [PHP-DB] problem connecting w/ODBC

2003-03-18 Thread Beverly Steiner
Hello again, Does anyone have suggestions about where I can get an answer to the problems I'm having with ODBC? I've tried using: $cursor = odbc_cursor($connection) || die("cannot create cursor"); and get a similar error: Warning: odbc_cursor(): supplied resource is not a valid ODBC res