Quote:
Originally Posted by nico_swd
Not quite sure if I understand what you're trying to do. Want to add a variable to a phrase which will be parsed and replaced with a userid?
You could use for example sprintf()
PHP Code:
$phrase = 'href="/forums/dothis.php?do=getuser&u=%d">mypage</a>.' $parsed = sprintf($phrase, $vbulletin->GPC['userid']);
|
that's for the search.php?
what do i put in phrase?