How to fill meta tags with php? That is, I want to fill them through the html form, enter it into the database, and when the page loads, they will appear automatically from the database.

<meta name="description" content="" /> <meta name="keywords" content="" /> 

    1 answer 1

    Well, so what's the problem then I did not understand? Well, create a table in which, for example, will be stored:
    1) url
    2) Meta tags themselves

    Well, just pull on the value of $_SERVER['REQUEST_URI']

    But something I suspect that you will not be written above ...

    • A person just apparently is not used to thinking in algorithms and structures, for him the name of the news, the username and meta-keywords are somewhat different) - Sh4dow
    • one
      Everything has its time, for me, everything is very simple - almost everything or string or true false ^^ - Zowie
    • one
      in fact, there are no rows either =) 'lol'= <small> true true false true true true false false true true true true true true true false true true false true false </ small> - Sh4dow
    • one
      Well, I'm not writing all the same on machine code, and for that matter ... <br> 11011000110111101101111 ... <br> <br> true and false too ... - Zowie
    • and rushed HD - Ozim