Forum Replies Created

Viewing 1 replies (of 1 total)
  • I can reproduce this,

    <form action=”<?php home_url( $wp->request ) ?>” method=”POST” class=”enter-activity”>
    /// ya da yada ya da

    <select id="userID" name="userID">
                <?php 
                if ($user_info->roles[0] == "administrator"){
                      foreach ($users as $user) {
                        echo "<option value='$user->id'>$user->display_name</option>";

    /// ya da yada ya da

    $newActivityID = isset($_POST[‘userID’]);

    This is a pretty a simple coding job that’s not working, very dissapointing

    WordPress 6.0.2
    Insert PHP Code Snippet (V 1.3.3)

Viewing 1 replies (of 1 total)