View Single Post

  #1 (permalink)  
Old 05-11-2008
skezzolo@gmail.com
 
Posts: n/a
Default Regular Expression Result as Associative Array Index

Hi Everyone.

$layout=ereg_replace("\[\[([a-z:0-9]+)\]\]", $dillo['\\1'], $layout);

I'm trying to use the result of a Regular Expression Match as an Index
for the Associative Array $Dillo[], so that the to-replace content can
be controlled from the to-be-replaced content.
Unfortunately the code above doesn't seem to work.
Any ideas?

Sorry about my poor english, i'm workin' on that.
skezzolo
Reply With Quote