php  $conn->raiseErrorFn = 'ew_ErrorFn';

Posted on 2007-10-05
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
    LVL 5

    Accepted Solution

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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
    Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
    Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
    This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

    759 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

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now