Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4256970
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T05:25:38+00:00 2026-05-21T05:25:38+00:00

hopefully someone here will find the answer to this: Im looking to have a

  • 0

hopefully someone here will find the answer to this:

Im looking to have a php code that will generate virtual pages for each city in USA, there are about 32,000 cities so to manually create those pages is nearly impossible, that’s why I need a script that will create page virtually for example what I mean take a look here :
http://www.tvbydirect.com/directv-deal/

as you can see in the bottom page there are all the states and then when you click there are all the cities in that state, now notice that the page stays the same (header, contact form, footer) but the content is the same just the city name is changed, also in the meta tags.

what line of code, or script can/will do that ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T05:25:39+00:00Added an answer on May 21, 2026 at 5:25 am

    PHP acts as a dynamic web framework, there would be need to create static pages, as they can be within the dynamic form.

    What you should do is generate a database with the required information and then use PHP To display different data depending on the environment its being called from.

    For example, if you had the following web adress:

    http://somesite.com/places/usa/washington
    

    yo uwould then use the 2 variables usa and washington and then check the database for the required information.

     SELECT information FROM palces WHERE country='usa' AND and city='washington'
    

    And then the information returned from the database would be printed in a custom template.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hopefully, this will be a quick one for someone here... I need to find
Hopefully, someone here can give me some light. I have been researching this issue
Hopefully someone here can help me with this challenge! I have a parent page
Hopefully someone will understand this. I apologise if my code is crap, I am
I have what I think is a tricky question, but hopefully someone on here
Hopefully someone can help here, it's incredibly frustrating! I have a couple of iOS
This is a weird one, but hopefully someone can give me an idea here.
This is a complicated situation (for me) that I'm hopeful someone on here can
Hopefully someone knows the answer to this Java-Certification question: public static void main(String[] args)
I know this is kinda dumb, but... If I have a php script that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.