Jump to content

longjohn

New Members
  • Posts

    1
  • Joined

  • Last visited

longjohn's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hello. This is the current code: $table = 'core_members'; $query = \IPS\Db::i()->select('*', $table, 'name=' . "'$username'")->query; $result = \IPS\Db::i()->query($query)->fetch_assoc(); and then i can use $id = $result["member_id"]; // member id to get the member id of the username i entered. However, how do i change the member id? I can get the member id by using the code above of the user i want, but i want to be able to change it. Please help with that. To clarify, i can get the values i want, but i want to be able to change them as well.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.