Hi, and I’m already sorry for my stupid question, but I’m really new on this.
I have a template, looks pretty much everything in .php coding, when I take a look in the source code though i see the HTML language.
My question is, where get this html written? I searched all folders of the template and see only .php and Java,… Do i miss something?
At the url requested by the browser.
If the url is www.example.com/index.php that is where the html appears, even if some of that comes from a separate include file referenced by index.php or includes within includes.
mostly I understand gandalfs answer. Now, If I understand it well… the message gets send in .php to take action… and the server responds, translating it into .html ? something like this? If You want to edit the HTML, you ave to edit the .php so it overrides via server the HTML? more simple… I see with firebug a problem encoding the page via view source or firebug… and I see in a line for example I want to add something, maybe a href for a link for example… how now can I do that if I dont find no where a HTML to insert my href ?
There are so many variations on how php can be used to create or present html that there is no one answer, it will be specific to the scripts/templates you are working with.
You need to give clear examples.
here you see in the 4th box that it doesn’t recognize UTF-8,it appears in glyph, do you put also Charset in between the lines? not only in the beginning? thanks so much for your interest !!!
it looks pretty much like a classic CMS… like WP… with a back end admin panel… however in my public html I see only .php and Java, definitely no .html…
You declare the charset once, at the start of the document. It looks fine to me. I don’t see any any problem with the boxes (unless I’m looking in the wrong place).
> <!DOCTYPE html>
> <html class="height-full">
> <head>
> <meta charset="utf-8">
> <meta http-equiv="X-UA-Compatible" content="IE=edge">
> <meta name="viewport" content="initial-scale=1.0,maximum-scale=1.0">
> <!-- Title -->
> <title>Επεξεργασία Αγγελίας - e-vape.deals</title>
> <meta name="title" content="Επεξεργασία Αγγελίας - e-vape.deals" />
and fund also this, where there is a STYLE css before the Charset.... could be that a problem? hmmm... dont know...even IF, thats how this topic started, I cant find no where those lines, no html files anywhere only php...
> <!DOCTYPE html>
> <html class="height-full">
> <head>
> <style type="text/css">
> <meta charset="utf-8">
> <meta http-equiv="X-UA-Compatible" content="IE=edge">
> <meta name="viewport" content="initial-scale=1.0,maximum-scale=1.0">
> <title>Επεξεργασία Αγγελίας - e-vape.deals</title>
> <meta name="title" content="Επεξεργασία Αγγελίας - e-vape.deals">
I was thinking more of the php source.
Most php will out put html, but what I’m asking about is how that html comes to be.
If you start there, you may be able to trace the source by following a trail of includes.
But this sounds like a CMS which I am not familiar with. Some CMS store content in databases rather than files.