merging two scripts.

Discussion in 'PHP' started by Luke Jones, Jul 19, 2007.

  1. #1
    Hello,
    I would like some guidance on how a script is usually merged with another.
    In my example, I need to put in an article rewriter script into a script that outputs articles.
    Do I simply copy and paste the rewriter script into the existing script?
    Where would I paste it, at the end, before the print $results comand, or maybe using an include to the script is better.

    Please give me your advice.

    Thanks.
     
    Luke Jones, Jul 19, 2007 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    It's impossible to say without seeing your code. But it will most definitely be more difficult than pasting the other code below.
     
    nico_swd, Jul 19, 2007 IP