Search results

  1. L

    php string to time function?

    $DateTimeStr = '2010-02-03 22:21:26'; echo date('jS F Y \a\t G:i', strtotime($unixdate)); output= 31st December 1969 at 16:00 desire output = 31st Dec 69 at 4:00pm Any suggestions?
  2. L

    php string function help?

    $string= "test yahoo f" = "1234567890" Need a function which finds the character/s which that belongs to the position I state exp: Your_function($string,$posBeg=1, $posEnd=3){ echo character/s } output: tes
  3. L

    php search through string find match return boolean.?

    $needle = 'test'; $heystack='fadadtest'; yourfunction($needle,$heystack){ if(match) return true; if(!match) return false; } 5 for answer! thank you
  4. L

    php preg_match_all assistance?

    preg_match_all("($beg_tag.*$close_tag)siU", $string, $matching_data); This returns an array with values that matches the expression. Issue is that it still has $beg_tag and $close_tag in the values as well. I want it to just return whats between tags and not what is used to identify that...
Back
Top