The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#2
|
|||
|
|||
![]()
I'm not completely sure what you're askking, but you could do this:
Code:
$display = 'hello word - hello word - hello word'; $find = 'h'; $replace = array('1','2','3','4'); $output = str_replace(array_fill(0, count($replace), $find), $replace, $display); or if you want random replacements: Code:
$output = str_replace(array_fill(0, count($replace), shuffle($find)), $replace, $display); |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|