ERROR: /admin/user.php

Discussion in 'Integration' started by draj, Jan 31, 2007.

  1. draj

    draj New Member

    Joined:
    Dec 29, 2006
    Messages:
    252
    Hallo!

    Well, I think it would be better to use instead of:

    $err = $db->update_user($vars['member_id'], $vars);
    ...
    if ($err) {
    fatal_error("Cannot update user info: $err");
    }

    something like:

    if (error) {
    show error
    } else {
    make an update
    }

    Due to current sub_routine, I was forced to do things that were not in the sequence of my list.

Share This Page