SHARE
TWEET

Untitled

a guest Oct 23rd, 2010 81 Never
  1. <?php
  2.  
  3.         $threadurl = 'http://forums.rockbox.org/index.php?topic=26079.new';
  4.         preg_match('/.*topic=([0-9]*).*"/',
  5.                    $threadurl, $matches, PREG_OFFSET_CAPTURE);
  6.         print_r($matches);
  7.  
  8. ?>
RAW Paste Data
Top