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
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