Jump to content

vestaxpdx

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

vestaxpdx's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Wow thanks a million! Why are they so confusing haha Thanks again!
  2. Hi, I have this string $my_string = "AND country='United Kingdom' OR country='France' OR country='Spain'"; I simply want to return the counties, so grab everything inside country=' ... ' I just cant figure out the reg expression. Sorry if this is mega easy. I would really appreciate some help. My code so far is: $my_string = "AND country='United Kingdom' OR country='France' OR country='Spain'"; $pattern = ""; preg_match($pattern, $my_string, $matches); print_r($matches);
×
×
  • 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.