Jump to content

Doodood

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Doodood's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. This worked fine for me, thanks alot !
  2. Hi, I'm having troubles using POSIX regex ! I know how to construct well-formed expressions, but hum... i'd like to replace some content by the row[$1] of an array... My tries : $query = preg_replace('#{([0-9]+)}#isU', $arr[$1], $this->query); $query = preg_replace('#{([0-9]+)}#isU', $arr['$1'], $this->query); $query = preg_replace('#{([0-9]+)}#isU', $arr["$1"], $this->query); $query = preg_replace('#{([0-9]+)}#isU', "$arr[$1]", $this->query); $query = preg_replace('#{([0-9]+)}#isU', "$arr['$1']", $this->query); None of them worked... If you have any idea ! Thanks.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.