Jump to content

Dunestrider

New Members
  • Posts

    2
  • Joined

  • Last visited

Dunestrider's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Why oh why does this not work? <?php if (preg_match("[0-9]", "2")) { echo("OK!"); } else { echo("NO MATCH"); } ?> I would think "2" is in the range of 0 to 9, but it always outputs "NO MATCH". Any ideas?
×
×
  • 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.