View Single Post
  #2  
Old 06 May 2015, 16:52
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
You want to use a PHP Direct Execution type of widget (if you haven't already), then use the "configure" link on the right to enter your php code. The output html needs to be returned in a string called $output instead of using echo or print. The easiest way to do that would be to surround the existing code with ob_start() and ob_end_clean(), like this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


and as the comment says, put your code there but don't include the first and last lines with the tags.

Also, I edited your post to put the code in code tags, and also to remove your database username and password, just in case.
Reply With Quote