title: What is wrong with my onClick syntax?
body: <p><a href="http://phpcodechecker.com/" rel="nofollow noreferrer">http://phpcodechecker.com/</a> says that 'Notification' is a (T_STRING) in my code. What should I replace ' to?</p>
  
  <pre><code>&lt;?php 
      $Query = $this-&gt;DBase('Query', array( 0 =&gt; "SELECT * FROM `factions`" ));
      while ($FACTIONS = $Query-&gt;fetch_object()) {
          $this-&gt;FACTION-&gt;FACTIONSLIST .= 
          '&lt;tr class="even pointer"&gt;
              &lt;td width="1%" class="a-center "&gt;&lt;input type="checkbox" class="flat" name="table_records"&gt;&lt;/td&gt;
              &lt;td width="10%"&gt;{$FACTIONS-&gt;id}&lt;/td&gt;
              &lt;td&gt;{$FACTIONS-&gt;Name} &lt;/td&gt;
              &lt;td width="5%" class="last"&gt;
                  &lt;a href="{SITE_CMS_ROOT}?factions&amp;edit={$FACTIONS-&gt;id}"&gt;
              &amp;nbsp;&lt;i class="fa fa-pencil"&gt;&lt;/i&gt;
                  &lt;/a&gt;
              &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
              &lt;a href="{SITE_CMS_ROOT}?factions&amp;delete={$FACTIONS-&gt;id} onclick="alert(Alrt Text!);"&gt;&lt;/a&gt;
                  &lt;a href="#" onclick="new TabbedNotification([
                      title: 'Notification',
                      text: 'Faction 123 successfully deleted!, page will be updated shortly.',
                      type: 'Error',
                      sound: false
                  ]);"&gt;
                      &lt;i class="fa fa-trash-o"&gt;&lt;/i&gt;
                  &lt;/a&gt;
              &lt;/td&gt;
          &lt;/tr&gt;';
      }    
  ?&gt;
  </code></pre>
  
  <p>Here is the HTML with the onClick script.
  The {SITE_FACTIONS} is the php script with the onClick function.</p>
  
  <pre><code>&lt;body class="nav-md"&gt;
      &lt;div class="container body"&gt;
          &lt;div class="main_container"&gt;
              {SITE_SIDEBAR}
              {SITE_NAVIGATION}
              &lt;div class="right_col" role="main"&gt;
                  &lt;div class=""&gt;
                      &lt;div class="page-title"&gt;
                          &lt;div class="title_left"&gt;
                              &lt;h3&gt; &lt;/h3&gt;
                          &lt;/div&gt;
                          &lt;div class="title_right"&gt;
                              &lt;div class="col-md-5 col-sm-5 col-xs-12 form-group pull-right top_search"&gt;
                                  &lt;div class="input-group"&gt;
                                      &lt;input type="text" class="form-control" placeholder="Search for..."&gt;
                                      &lt;span class="input-group-btn"&gt;
                                          &lt;button class="btn btn-default" type="button"&gt;Go!&lt;/button&gt;
                                      &lt;/span&gt;
                                  &lt;/div&gt;
                              &lt;/div&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
                      &lt;div class="clearfix"&gt;&lt;/div&gt;
                      &lt;div class="row"&gt;
                          &lt;div class="clearfix"&gt;&lt;/div&gt;
                          {SITE_FACTIONS}
                      &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
              {SITE_FOOTER}
          &lt;/div&gt;
      &lt;/div&gt;
  
  &lt;div id="custom_notifications" class="custom-notifications dsp_none"&gt;
    &lt;ul class="list-unstyled notifications clearfix" data-tabbed_notifications="notif-group"&gt;
    &lt;/ul&gt;
    &lt;div class="clearfix"&gt;&lt;/div&gt;
    &lt;div id="notif-group" class="tabbed_notifications"&gt;&lt;/div&gt;
  &lt;/div&gt;
  
  &lt;!-- jQuery --&gt;
  &lt;script src="{SITE_CMS_ROOT}vendors/jquery/dist/jquery.min.js"&gt;&lt;/script&gt;
  &lt;!-- Bootstrap --&gt;
  &lt;script src="{SITE_CMS_ROOT}vendors/bootstrap/dist/js/bootstrap.min.js"&gt;&lt;/script&gt;
  &lt;!-- FastClick --&gt;
  &lt;script src="{SITE_CMS_ROOT}vendors/fastclick/lib/fastclick.js"&gt;&lt;/script&gt;
  &lt;!-- NProgress --&gt;
  &lt;script src="{SITE_CMS_ROOT}vendors/nprogress/nprogress.js"&gt;&lt;/script&gt;
  &lt;!-- bootstrap-progressbar --&gt;
  &lt;script src="{SITE_CMS_ROOT}vendors/bootstrap-progressbar/bootstrap-progressbar.min.js"&gt;&lt;/script&gt;
  &lt;!-- iCheck --&gt;
  &lt;script src="{SITE_CMS_ROOT}vendors/iCheck/icheck.min.js"&gt;&lt;/script&gt;
  &lt;!-- PNotify --&gt;
  &lt;script src="{SITE_CMS_ROOT}vendors/pnotify/dist/pnotify.js"&gt;&lt;/script&gt;
  &lt;script src="{SITE_CMS_ROOT}vendors/pnotify/dist/pnotify.buttons.js"&gt;&lt;/script&gt;
  &lt;script src="{SITE_CMS_ROOT}vendors/pnotify/dist/pnotify.nonblock.js"&gt;&lt;/script&gt;
  
  &lt;!-- Custom Theme Scripts --&gt;
  &lt;script src="{SITE_CMS_ROOT}build/js/custom.min.js"&gt;&lt;/script&gt;
  
  &lt;!-- Custom Notification --&gt;
  &lt;script&gt;
    $(document).ready(function() {
      var cnt = 10;
  
      TabbedNotification = function(options) {
        var message = "&lt;div id='ntf" + cnt + "' class='text alert-" + options.type + "' style='display:none'&gt;&lt;h2&gt;&lt;i class='fa fa-bell'&gt;&lt;/i&gt; " + options.title +
          "&lt;/h2&gt;&lt;div class='close'&gt;&lt;a href='javascript:;' class='notification_close'&gt;&lt;i class='fa fa-close'&gt;&lt;/i&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;" + options.text + "&lt;/p&gt;&lt;/div&gt;";
  
        if (!document.getElementById('custom_notifications')) {
          alert('doesnt exists');
        } else {
          $('#custom_notifications ul.notifications').append("&lt;li&gt;&lt;a id='ntlink" + cnt + "' class='alert-" + options.type + "' href='#ntf" + cnt + "'&gt;&lt;i class='fa fa-bell animated shake'&gt;&lt;/i&gt;&lt;/a&gt;&lt;/li&gt;");
          $('#custom_notifications #notif-group').append(message);
          cnt++;
          CustomTabs(options);
        }
      };
  
      CustomTabs = function(options) {
        $('.tabbed_notifications &gt; div').hide();
        $('.tabbed_notifications &gt; div:first-of-type').show();
        $('#custom_notifications').removeClass('dsp_none');
        $('.notifications a').click(function(e) {
          e.preventDefault();
          var $this = $(this),
            tabbed_notifications = '#' + $this.parents('.notifications').data('tabbed_notifications'),
            others = $this.closest('li').siblings().children('a'),
            target = $this.attr('href');
          others.removeClass('active');
          $this.addClass('active');
          $(tabbed_notifications).children('div').hide();
          $(target).show();
        });
      };
  
      CustomTabs();
  
      var tabid = idname = '';
  
      $(document).on('click', '.notification_close', function(e) {
        idname = $(this).parent().parent().attr("id");
        tabid = idname.substr(-2);
        $('#ntf' + tabid).remove();
        $('#ntlink' + tabid).parent().remove();
        $('.notifications a').first().addClass('active');
        $('#notif-group div').first().css('display', 'block');
      });
    });
  &lt;/script&gt;
  &lt;!-- /Custom Notification --&gt;
  </code></pre>
  
  <p>
  </p>