preg_match_all error

Discussion in 'PHP' started by aassociatehit, Aug 14, 2009.

  1. #1
    can someone help me to fix this error

    Warning: preg_match_all() expects parameter 2 to be string

    Please PM me whoever can fix it, I will pay for your time
     
    aassociatehit, Aug 14, 2009 IP
  2. premiumscripts

    premiumscripts Peon

    Messages:
    1,062
    Likes Received:
    48
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Well, you should show the full line, and the input (for debugging). Use echo to output all arguments you send to preg_match_all.
     
    premiumscripts, Aug 14, 2009 IP