![]() |
assigning pcre replacements ( $1 or $2 or whatever ) to variables
I want to know how to do this. How do you take the replacements and assign them to variables?
|
I'm not sure if this is exactly what you were looking for, but I would do something like this, maybe;
PHP Code:
-m |
Quote:
|
Sometimes you just have to step back and look at things from a different angle. I'm still really new at this stuff too, and some things that seem almost impossible to do one day, just jump out at me the next and I wonder how come I never saw it before.
-m |
Quote:
|
Quote:
|
Quote:
|
Quote:
But I dunno, I never know. I've grown used to the fact that nobody can read your body language or hear your tone online and therefore a lot goes misinterpreted. I get accused of being an ass alllllll the time because I'm just very straightforward and have a sadisticly cynical and sarcastic sense of humor. Yes, I am working on making that into a tongue twister. Anywho. -m |
| All times are GMT. The time now is 01:32 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0