javascript - How to pass php code in this in label_htm i want to show count number in this filed -


"my tasks" => array(         "title" => "my tasks",         "label_htm" => '<span class="badge pull-right inbox-badge margin-right-13">2</span>',         "icon" => "fa-slack",          'url' => app_url.'/my_task.php'         ), 

just instead 2 value, concat string php variable, i.e.:

'<span class="badge pull-right inbox-badge margin-right-13">' . $count . '</span>' 

Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -