nintendo
06-09-2003, 06:10 PM
Is it possible to change this so that more than one word can show up as the username of the person viewing it, for example both (username) and [username] ??
$findwords=array(0 => '[username]');
$replacewords=array(0 => "$bbuserinfo[username]");
$i=1;
while ($var=$DB_site->fetch_array($vars) and $i++) {
if ($var['findword']!='') {
$findwords[$i]=$var['findword'];
$replacewords[$i]=$var['replaceword'];
}
}
$findwords=array(0 => '[username]');
$replacewords=array(0 => "$bbuserinfo[username]");
$i=1;
while ($var=$DB_site->fetch_array($vars) and $i++) {
if ($var['findword']!='') {
$findwords[$i]=$var['findword'];
$replacewords[$i]=$var['replaceword'];
}
}