Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 $parser-> not working?
ThistleProse Offline
Junior Member
**
Posts: 4
Joined: Sep 2019
Post: #1
$parser-> not working?
Hello!

This piece of code used to work, but after upgrading my PHP it no longer does. I'm not sure why and was hoping for some assistance Smile

Code:
<? print $parser->parse_message(htmlspecialchars_decode($userfields['fid52']),array("allow_mycode" => 1)); ?>


PHP version:  PHP Version 7.2.26
MyBB version: 1.8.22
SQL version: MySQLi 5.6.47


PS; Is there any way to force all the $userfields to parse the MyCode? Without having to use some variation of the code above on each one?
(This post was last modified: 01-23-2020 04:03 PM by ThistleProse.)
01-23-2020 04:01 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
$parser-> not working? - ThistleProse - 01-23-2020 04:01 PM
RE: $parser-> not working? - Sama34 - 01-24-2020, 02:16 PM

 Standard Tools
Forum Jump: