Title: isset, variable with &#8216;=&#8217;
Last modified: May 12, 2020

---

# isset, variable with ‘=’

 *  [reti](https://wordpress.org/support/users/reti/)
 * (@reti)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/isset-variable-with/)
 * I have this URL:
    [http://www.mypage.com/?fwp_hidden_tags=gdgb](http://www.mypage.com/?fwp_hidden_tags=gdgb)
 * I would like to write a condition with ‘isset’. It works:
 * `if ( isset( $_GET['fwp_hidden_tags'] )`
 * but I also want to include “=gdgb”. How do I write this?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [reti](https://wordpress.org/support/users/reti/)
 * (@reti)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/isset-variable-with/#post-12820738)
 * It works well:
 * `if ( strpos($_SERVER['REQUEST_URI'], 'gdgb') )`
 * That’s enough for now, but if anyone knows how to solve it differently, I’d appreciate
   an answer.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [5 years, 10 months ago](https://wordpress.org/support/topic/isset-variable-with/#post-12821472)
 * see [https://developer.wordpress.org/reference/functions/get_query_var/](https://developer.wordpress.org/reference/functions/get_query_var/)
 *  Thread Starter [reti](https://wordpress.org/support/users/reti/)
 * (@reti)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/isset-variable-with/#post-12822446)
 * Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘isset, variable with ‘=’’ is closed to new replies.

## Tags

 * [isset](https://wordpress.org/support/topic-tag/isset/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [reti](https://wordpress.org/support/users/reti/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/isset-variable-with/#post-12822446)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
