The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I cant understand the thing at all...
ereg_replace, preg_replace..i just dont get it.. I read the format on php.net and everything, its just all that ^# and ^|#@ things that i dont get.. Anyone care to share the light with a little tutorial?? ![]() |
#2
|
||||
|
||||
![]()
Take alook at the second example at http://uk.php.net/manual/en/function.preg-replace.php
The 1st parameter is what the function will look for in the defined string, the 2nd parameter is what will be replaced if there are matches in the string, and the 3rd parameter is the string you define. I,e PHP Code:
Quote:
![]() |
#3
|
||||
|
||||
![]()
Ok, thanks for that assassingod..
What about 3 and 4 and 5.. PHP Code:
![]() |
#4
|
||||
|
||||
![]()
Those are regular expression pattern matchers. They were taken from perl. As much as I I'd like to sit down an explain to you about them I don't know much about them myself yet
![]() ![]() |
#5
|
||||
|
||||
![]()
thanks for the advice dean
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|