Hi,
I'm trying to get a BBcode to include a PHP file, which access a variable set in the BBcode PHP side.
Eg, my bbcode needs to run this PHP:
PHP Code:
$var = 32;
include("file.php");
And the script parsing it will do some clever DB stuff based on the $var and output HTML (file.php).
Any ideas how I would go about doing this? $var would be set by the user input ([bbcode]var's value[/bbcode])