• For some reason I am not able to update the DB. For the life of me I cannot figure it out, I am not getting any errors either.

    $name = $_POST[“name”];
    echo $name;
    global $wpdb;

    $wpdb->sql=”INSERT INTO $wpdb->wp_subscribe2 (name) VALUES (‘$name’)”;

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Not able to update DB with $wpdb’ is closed to new replies.