Help with Dynamic PHP Script.

Discussion in 'PHP' started by rush123456, Aug 2, 2010.

  1. #1
    Hey There,


    If you look at the site www.securitysystemshouston.com, the site is a result of Dynamic PHP script. Right now I am looking to optimize this site for Houston City only. When you click on Houston on the home page and you see the page, you can see a couple of county’s like (sugar land, Missouri city etc.). The problem is the dynamic script for the site, if you see the Sugar Land page of the website and the home page of the website, they have the same content and all that changes is the city name in the webpage. Having this, I am not able to change meta details and content for the inner pages in the website.

    I am not well versed with PHP, but I am capable enough of understanding the code.

    What do you think the solution is?

    Do I need to create separate inner page for each of the county?
    or
    Is there any way I can make changes to the content for inner pages using the same script (using some tools like dreamweaver etc.,)

    I really appreciate your help.
    I've also posted another thread in WebDesign section for hiring coders to this issue and the slot is still available.

    Looking forward for your participation

    H
     
    rush123456, Aug 2, 2010 IP
  2. MyVodaFone

    MyVodaFone Well-Known Member

    Messages:
    1,048
    Likes Received:
    42
    Best Answers:
    10
    Trophy Points:
    195
    #2
    When you say dynamic, do you use a database ?

    Ideally if the cities where stored into a database, then it would be quite easy to add an extra field 'content' to each city and or if that field was empty it would load default content, this would allow you to only edit city pages to your requirements.

    Did you create the site yourself or is this a readily available script of some-other kind ?
     
    MyVodaFone, Aug 2, 2010 IP
  3. scottlpool2003

    scottlpool2003 Well-Known Member

    Messages:
    1,708
    Likes Received:
    49
    Best Answers:
    9
    Trophy Points:
    150
    #3
    You could add this for your meta tags:

    And then on your dynamic pages:

    This will pull data from the database onto your dynamic pages giving you individual meta tags...

    I'm still not 100% sure on your question though.
     
    scottlpool2003, Aug 9, 2010 IP