Question regarding URLS and PHP Code

Discussion in 'PHP' started by scm22ri, May 16, 2012.

  1. #1
    Hi Everyone,


    Before I ask my question I would like to give everyone a background on myself. I'm currently in the learning stages of PHP and MySql.


    (I apol. in advance for my lack of tech. terminology)


    I have a question regarding how to "make" or "produce" certain pages in php code. In my past I've always manually made a pages. For example, aboutus.html, information.html, cats.html etc ... I think you get the idea.


    Assuming code is being used. How would one go about "making" or "producing" pages that are fully functional php pages? Where people can log in, make edits, write reviews etc ... (a few examples are below)


    Do the owners/programmers of the below websites manually "make" or "produce" these pages?
    http://cars.oodle.com/used-cars/san-jose-ca-area/
    http://www.yelp.com/biz/lotus-of-siam-las-vegas
    http://restaurants.uptake.com/california/san_jose/509917137.html
    http://www.yelp.com/c/san-jose/restaurants


    My question is, how can I "make" or "produce" these types of pages for my website? Can anyone offer my any tips/tricks on how to do so. All opinions welcome. Thanks everyone in advance for the help.
     
    scm22ri, May 16, 2012 IP
  2. PK-Host

    PK-Host Guest

    Messages:
    109
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    0
    #2
    PK-Host, May 16, 2012 IP
  3. scm22ri

    scm22ri Greenhorn

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    6
    #3
    Thanks PK-Host!

    Now I'm trying to figure out how to actually extract that data and display it on my website!
     
    scm22ri, May 16, 2012 IP
  4. HostPlanz

    HostPlanz Well-Known Member

    Messages:
    449
    Likes Received:
    34
    Best Answers:
    4
    Trophy Points:
    130
    #4
    What do you mean extract the data? From where?
     
    HostPlanz, May 16, 2012 IP
  5. scm22ri

    scm22ri Greenhorn

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    6
    #5
    Hi Hostplanz,

    My mistake for the delayed response. When I say extract data I mean extracting data from a mysql database and then using those keywords/phrases in my URLS.

    Thanks!
     
    scm22ri, May 24, 2012 IP
  6. iMarcus

    iMarcus Active Member

    Messages:
    122
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    90
    #6
    There are plenty of good tutorials on the web for getting data from MySQL and displaying in a php page. The manual at php.net is an invaluable resource and something to keep bookmarked for those little problems we all have from time to time. Stick with it and you'll soon be building powerful database driven sites :)

    Also a good book on php / mysql will come in handy, and can often be picked up used on amazon, etc for cheap!
     
    iMarcus, May 25, 2012 IP