HELP: how to extract item bet between this code

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    HELP: how to extract item bet between this code

    HELP: how to extract item bet between this code:
    PHP Code:
    <div class="upban">(ANY HTML ITEM HERE)</a
    I need ANY ITEM to be extracted to
    PHP Code:
    $title "any item"
    please need fast help. . .

    #2
    PHP Code:
    $title preg_replace("/<div class=\"upban\">(.*?)<\/a>/is", $1$title); 
    Last edited by something else; 19.03.12, 06:50.

    Comment


      #3
      Originally posted by something else View Post
      PHP Code:
      $title preg_replace("/<div class=\"upban\">(.*?)<\/a> /is", $1$title); 
      Hey Grabber expert!
      the same thing in a professional way :P
      PHP Simple HTML DOM Parser :D
      I need some facebook likes, can you please help me
      http://facebook.com/softwarefreakin
      I noticed social media is really powerful
      Well DONE is better than well SAID

      Comment


        #4
        <3 Thanks something else

        Comment


          #5
          sorry edited it slightly as there was a space in the code that wasnt needed

          Comment


            #6
            <3

            Parse error: syntax error, unexpected T_LNUMBER, expecting T_VARIABLE or
            '$'

            - HELP -

            Comment


              #7
              Originally posted by anthrax68 View Post
              <3

              Parse error: syntax error, unexpected T_LNUMBER, expecting T_VARIABLE or
              '$'

              - HELP -
              I am also getting the same error plz help

              Comment

              Working...
              X