Menu
hello, im trying to make a username bb code for my online game. but i can figure out the specifics, im not even sure if this code is possible.
user= (id number of user)
new User = function to pull info for user out of database by the id
[code=php] $out1 = preg_replace(“/[user=(.*)](.*)[/user]/”, “<?php $bbuser = new User($1); ?><?php echo $bbuser->username; ?>”, $out1);