Hi!

   Is there a way to verify that odbc_resut($result,1) is successfull or
not.  I'm not talking about

--snip--
    $result = odbc_exec($connect,$ask);
    if ($result) { echo "Successfull!"; } else { echo "Failed!!"; }
--snip--

--snip--
    $result = odbc_exec($connect,$ask);
    $db_result = odbc_exec($result,1);
    if ($db_result) { echo "Successfull!"; } else { echo "Failed!!"; }
--snip--

    because it check on database connection, not whether is the SQL
Statement had been successfully execuated or failed.  What I'm looking for
is whether is the SQL Statement, 'INSERT' is successful or fail.  Not the
database connection.

Thanks!



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to