Jump to content

uniflare

Members
  • Posts

    867
  • Joined

  • Last visited

About uniflare

  • Birthday 12/27/1988

Profile Information

  • Gender
    Male
  • Location
    UK - England

uniflare's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I would like to know why I have been given this warning: uniflare, You have been given a warning by .josh. Reason: Other Not trying to be anal but... You've been a member for almost 4 years, and have almost 1k posts...I think you should know by now to use code tags in your posts! .josh. I am pretty sure i use code tags. always, maybe i forgot. To that end, I will not be helping on this forum anymore. A warning for not posting code tags? wtf? I couldn't post unless i "acknowledged" the warning. This is like school. I have helped people on here because i like helping. not to be a part of some crazy mans empire. Maybe i just forgot to use code tags, and i get a warning like that, this forum is dead to me because of this admin. Bye bye
  2. Just read a warning about not formatting my post... wtf??

  3. $strings = array(); // sample data $letters = array(); $numbers = array(); foreach($strings as $str){ if(preg_match("#([a-z]*)([0-9]+)#i", $str, $matches)){ $letters[] = $matches[1]; $numbers[] = $matches[2]; } } print_r($letters); print_r($numbers); Preg match is very handy, would be quicker to use on blocks of text rather than single elements in a loop. (for text though use preg_match_all, slight differences)
×
×
  • 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.