title: Need Options Value to work on my Code
body: <p>Hello i have a php site and i trying to make an element as optional value but i have no ideas how it works.</p>
  
  <p>See 1st Image 1 <br>
  ![1st Image][1]
  it is shown on all pages but i want to make it optional to show and hide </p>
  
  <p>here is the code i have added a code add page section </p>
  
  <p>See 2nd Image <br> 
  <img src="https://i.stack.imgur.com/5XEGn.jpg" alt="2nd Image"></p>
  
  <p>Code is </p>
  
  <pre><code>&lt;label for="name-in" class="col-md-3 label-heading"&gt;Color Name&lt;/label&gt;  
  &lt;div class="col-md-9"&gt;
          &lt;select name="is_colorname" class="form-control"&gt;
              &lt;option value="1"&gt;Yes&lt;/option&gt;
              &lt;option value="0"&gt;No&lt;/option&gt;
          &lt;/select&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>Value <code>Yes</code> is Show Color Text, <code>No</code> is Hidden </p>
  
  <p>Now This Code Need to Show and hide </p>
  
  <pre><code>    &lt;?php if (!$is_colorname) : ?&gt;&lt;?php if(!empty($bstf)) { echo $bstf; } echo '&lt;/p&gt;&lt;br&gt;&lt;br&gt;'; ?&gt;
      &lt;p class="card-title center-align comic wishesed"&gt;
      &lt;?php if($wish!="love" ) { 
          if($wish=="bestf" ) { 
              if(!$is_doublename) {?&gt;
                  &lt;span class="deep-orange-text text-darken-2"&gt;W&lt;/span&gt;
                  &lt;span class="green-text text-accent-4"&gt;e &amp;nbsp;&lt;/span&gt;
                  &lt;span class="blue-text text-lighten-1"&gt;A&lt;/span&gt;
                  &lt;span class=" teal-text text-accent-3"&gt;r&lt;/span&gt;
                  &lt;span class="red-text text-accent-3"&gt;e&lt;/span&gt;
              &lt;?php }
              else{
                  echo '
                      &lt;span class="orange-text darken-1"&gt;W&lt;/span&gt;
                      &lt;span class="green-text text-accent-4"&gt;i&lt;/span&gt;
                      &lt;span class="lime-text"&gt;s&lt;/span&gt;
                      &lt;span class="teal-text text-accent-3"&gt;h&lt;/span&gt;
                      &lt;span class="blue-grey-text lighten-5"&gt;i&lt;/span&gt;
                      &lt;span class="lime-text"&gt;n&lt;/span&gt;
                      &lt;span class="orange-text text-accent-3"&gt;g &amp;nbsp;&lt;/span&gt;
                  &lt;span class="lime-text"&gt;Y&lt;/span&gt;
                      &lt;span class="teal-text text-accent-3"&gt;o&lt;/span&gt;
                      &lt;span class="lime-text text-accent-3"&gt;u&lt;/span&gt;';
                      }
          } else if($wish=="friend" || $wish=="rakhi" ) { 
              if(!$is_doublename) {
                  echo '
                              &lt;span class="orange-text darken-1"&gt;W&lt;/span&gt;
                              &lt;span class="green-text text-accent-4"&gt;i&lt;/span&gt;
                              &lt;span class="lime-text"&gt;s&lt;/span&gt;
                              &lt;span class="teal-text text-accent-3"&gt;h&lt;/span&gt;
                              &lt;span class="blue-grey-text lighten-5"&gt;i&lt;/span&gt;
                              &lt;span class="lime-text"&gt;n&lt;/span&gt;
                              &lt;span class="orange-text text-accent-3"&gt;g &amp;nbsp;&lt;/span&gt;
                              &lt;span class="lime-text"&gt;Y&lt;/span&gt;
                              &lt;span class="teal-text text-accent-3"&gt;o&lt;/span&gt;
                              &lt;span class="lime-text text-accent-3"&gt;u&lt;/span&gt;';
                      }
                      else{
                          echo '
                  &lt;span class="deep-orange-text text-darken-2"&gt;W&lt;/span&gt;
                  &lt;span class="green-text text-accent-4"&gt;e &amp;nbsp;&lt;/span&gt;
                  &lt;span class="blue-text text-lighten-1"&gt;A&lt;/span&gt;
                  &lt;span class=" teal-text text-accent-3"&gt;r&lt;/span&gt;
                  &lt;span class="red-text text-accent-3"&gt;e&lt;/span&gt;
                      ';
                  }
      } else {  
          if(!$is_doublename) {?&gt;
              &lt;span class="deep-orange-text text-darken-2"&gt;W&lt;/span&gt;
              &lt;span class="green-text text-accent-4"&gt;i&lt;/span&gt;
              &lt;span class="blue-text text-lighten-1"&gt;s&lt;/span&gt;
              &lt;span class=" teal-text text-accent-3"&gt;h&lt;/span&gt;
              &lt;span class="red-text text-accent-3"&gt;i&lt;/span&gt;
              &lt;span class="lime-text"&gt;n&lt;/span&gt;
              &lt;span class="orange-text text-accent-3"&gt;g &amp;nbsp;&lt;/span&gt;
              &lt;span class="lime-text"&gt;Y&lt;/span&gt;
              &lt;span class=" blue-text text-darken-1"&gt;o&lt;/span&gt;
              &lt;span class="lime-text text-accent-3"&gt;u&lt;/span&gt;
          &lt;?php }
          else { ?&gt;
              &lt;span class="deep-orange-text text-darken-2"&gt;W&lt;/span&gt;
              &lt;span class="green-text text-accent-4"&gt;e &amp;nbsp;&lt;/span&gt;
              &lt;span class="blue-text text-lighten-1"&gt;A&lt;/span&gt;
              &lt;span class=" teal-text text-accent-3"&gt;r&lt;/span&gt;
              &lt;span class="red-text text-accent-3"&gt;e&lt;/span&gt;
          &lt;?php }
      } 
  } ?&gt;&lt;?php endif ?&gt;;
  </code></pre>
  
  <p>Website Link : </p>
  
  <p>How can i that colorful text to show and hide </p>