Congratulations to vtecmec for winning May/June's Lude Of The Month, with his DIY Turbo BB1 build.
>>> Click Here For Profile <<<
>>> Click Here For Profile <<<
Just tinkering
- indigolemon
- The Chaos Engine
- Posts: 6677
- Joined: Wed Jun 30, 2010 1:45 pm
- My Generation: 4G
- PSN GamerTag: M149YSL
- Location: Kelty, Fife
- Has thanked: 20 times
- Been thanked: 70 times
- Contact:
- indigolemon
- The Chaos Engine
- Posts: 6677
- Joined: Wed Jun 30, 2010 1:45 pm
- My Generation: 4G
- PSN GamerTag: M149YSL
- Location: Kelty, Fife
- Has thanked: 20 times
- Been thanked: 70 times
- Contact:
- indigolemon
- The Chaos Engine
- Posts: 6677
- Joined: Wed Jun 30, 2010 1:45 pm
- My Generation: 4G
- PSN GamerTag: M149YSL
- Location: Kelty, Fife
- Has thanked: 20 times
- Been thanked: 70 times
- Contact:
How's this? Assumed $content for post content (not all my own work btw)
Code: Select all
if (preg_match('/^.*\[img\](.+?)\[\/img\]/i', $content, $matches)) {
echo $matches[1];
}
'On two occasions I have been asked, 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question.' - Charles Babbage
- NafemanNathan
- LotM Winner
- Posts: 20144
- Joined: Sun Aug 08, 2010 9:37 pm
- My Generation: 0G
- Location: Yeovil, Somerset
- Has thanked: 8 times
- Been thanked: 123 times