Title: $_GET not working
Last modified: October 8, 2018

---

# $_GET not working

 *  [pavelmititel](https://wordpress.org/support/users/pavelmititel/)
 * (@pavelmititel)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/_get-not-working-2/)
 * Hi,
 * I’m trying to check if am variable is set in GET method but `if(isset($_GET['
   thread_id']))` not working because wordpress link is: [http://beta.onemillionnights.com/chat/?thread_id=57](http://beta.onemillionnights.com/chat/?thread_id=57)
   and / before ? in link stops execution of the isset function?
 * How can fix it?
    Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2F_get-not-working-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [7 years, 7 months ago](https://wordpress.org/support/topic/_get-not-working-2/#post-10760394)
 * You need to add ‘thread_id” to WordPress’ list of acceptable query variables.
   See [https://codex.wordpress.org/Function_Reference/get_query_var](https://codex.wordpress.org/Function_Reference/get_query_var)

Viewing 1 replies (of 1 total)

The topic ‘$_GET not working’ is closed to new replies.

## Tags

 * [$_get](https://wordpress.org/support/topic-tag/_get/)
 * [isset](https://wordpress.org/support/topic-tag/isset/)
 * [method](https://wordpress.org/support/topic-tag/method/)
 * [value](https://wordpress.org/support/topic-tag/value/)
 * [variable](https://wordpress.org/support/topic-tag/variable/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/_get-not-working-2/#post-10760394)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
