![]() |
Problems eval'ing bbcodeparse'd string.
I'm trying to use the bbcodeparse function for a messaging section I am writing for my site. It uses a template so I used the eval function to copy the text to a variable. Here's the code:
Code:
$bbmessage = bbcodeparse(stripslashes($test[message])); Parse error: parse error in /home/lancer/forums/test.php(100) : eval()'d code on line 5 If I use addslashes then it parses, but there are slashes after apostrophes and such. If anyone may know how to correct this, that would be great. Thanks, Mark |
I tried replacing just the apostrophy and it works. Here's the code:
Code:
$bbmessage = addslashes(bbcodeparse(stripslashes($im[message]))); Thanks, Mark |
All times are GMT. The time now is 12:35 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|