Codenames Posted August 9, 2013 Share Posted August 9, 2013 (edited) Hi i want know if every site generate html pages for every subcategory or do they just echo html tags based on a cliked parent category e.g HTML books (parent) -Novel (subpage ) -FIction (subpage ) PHP $array = link.Novel, link.Fictions if id =['books']; echo = $array(); if they are using echo, then what is this method called so i can google it. I dont need your codes but you can post if you want im creating a classifed site .focusing on Posting Ad function Thanks, Edited August 9, 2013 by Codenames Quote Link to comment Share on other sites More sharing options...
trq Posted August 9, 2013 Share Posted August 9, 2013 Assuming you are asking if larger sites are generated dynamically on each request, or as contents change a static site is generated? Generally, the later. What is the term for it? Dynamic Site Generation. Quote Link to comment Share on other sites More sharing options...
Muddy_Funster Posted August 9, 2013 Share Posted August 9, 2013 I'm thinking it's probably the AJAX div content loading that's being asked about here...but the question is so loose and sparce it's impossable to be sure. Quote Link to comment Share on other sites More sharing options...
Codenames Posted August 10, 2013 Author Share Posted August 10, 2013 (edited) I meant if big sites generate <a><ul><li> instead of making HTML pages Edited August 10, 2013 by Codenames Quote Link to comment Share on other sites More sharing options...
trq Posted August 10, 2013 Share Posted August 10, 2013 You are really not helping. Quote Link to comment Share on other sites More sharing options...
Muddy_Funster Posted August 10, 2013 Share Posted August 10, 2013 It's really not clear what you are asking. This seems to be a theological question as far as web page creation is concerned, and not directly related to getting help with PHP code. I don't even what you are referring to as "big sites". Every site is made differently, depending on a number of things: who makes it, what it needs to do, how much information it needs to present, who the target audience is, how much money the company that commissioned it is willing to spend, and how much after build interaction the site administrators are going to need to make and how skilled these people are at programing web page content are just a few of the major factors. The internet doesn't have a stringent framework for how sites are built, regardless of size. One site can hold 3 pages, with no user interaction other than basic navigation, and have no real images or animations to speak of and still be coded in the same way, using the same methodology as a site with 80 pages, multiple user interaction points, email facilities, automated image displays and animations and social links and media sharing. Your question is to generic to get an accurate answer. Most sites I have come across use a combination of static and dynamic content. Static content for the content that is in fact static and never (or at least next to never) changes and dynamic content for the areas that do change a lot - or at least hold the potential to change regularly. Perhaps if you were a little more verbose and direct in your question we could give more specific information. Quote Link to comment Share on other sites More sharing options...
Codenames Posted August 11, 2013 Author Share Posted August 11, 2013 (edited) Thank you for your answers, i was askin if php can can print html tags based on if statement e.g if i select Google then PHP print Google product elsif Yahoo select then PHP print Yahoo products all in one page, thats what i want to know, Thanks, Edited August 11, 2013 by Codenames Quote Link to comment Share on other sites More sharing options...
trq Posted August 11, 2013 Share Posted August 11, 2013 i was askin if php can can print html tags based on if statement Then why didn't you ask simply that question? To answer that question: yes. Quote Link to comment Share on other sites More sharing options...
Solution Codenames Posted August 11, 2013 Author Solution Share Posted August 11, 2013 Ok now i know and sorry for my nonesense questions, Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.