Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


php  $conn->raiseErrorFn = 'ew_ErrorFn';

Posted on 2007-10-05
Medium Priority
Last Modified: 2008-03-06
$bInsertRow = $CaseIdDetail->Row_Inserting($rsnew);
      if ($bInsertRow) {
            $conn->raiseErrorFn = 'ew_ErrorFn';
            $AddRow = $conn->Execute($CaseIdDetail->InsertSQL($rsnew));
            $conn->raiseErrorFn = '';

do i under stan correct

The code above if  $bInsertRow not null then   con equal to  'ew_ErrorFn';
Question by:teera
1 Comment

Accepted Solution

frin earned 2000 total points
ID: 20026771
Yes, if $bInsertRow is not false or null (thus contains some information or boolean value of true), then it first sets $conn->raiseErrorFn variable to 'ew_ErrorFn', calls $conn->Execute and resets $conn->raiseErrorFn to blank ''

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

These days socially coordinated efforts have turned into a critical requirement for enterprises.
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question