• I have the following code:

    echo “$this->zipcode $key Calling Update”;
    $wpdb>show_errors();
    $wpdb->update(‘ncrj_donors’, array(‘zipcode=>$this->zipcode’), array(‘donorkey=>$key’)) or die(“Update Failed”);
    echo “Update called”;

    When it’s executed this is what I get on the screen:

    02119-1582 Chatelle*******Robert****02119 Calling Update

    The second echo statement is never executed. So the code doesn’t return from $wpdb->update

    There is nothing at all in the php error file.

    I’m baffled.

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘$wpdb->update problem’ is closed to new replies.