Support

Account

Home Forums General Issues Querying user ID Reply To: Querying user ID

  • I’ve looked briefly into comparison operators and tried to get the below code to work with no success. New to PHP so be gentle :/

    <?php $client_id = get_currentuserinfo($user_ID); if ($client_id == get_field('user_select')) : ?>
    <p>Working</p>
    <?php else : ?>
    <p>Not Working</p>
    <?php endif; ?>