jerry89 Posted April 7, 2009 Share Posted April 7, 2009 Hi, there. I want to be able to edit "meta keys&description" in my CMS. If anybody can tell me if its right what i want to do. insert MK & MD to DB , and then get it by sql in the <head></head> ? or nope? also I want to do.. "in count down script, to be able to edit from admin page. so would it be the same way ? just echo somewhere else ? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/152955-how-can-i-do/ Share on other sites More sharing options...
PHP Monkeh Posted April 7, 2009 Share Posted April 7, 2009 If you want to store your meta tags in a database I don't see a problem with that, so yes it would work by retrieving it and echoing it in the <head> tags. As for your second question I can't make sense of what you're even asking, so try to explain it a bit better. Quote Link to comment https://forums.phpfreaks.com/topic/152955-how-can-i-do/#findComment-803350 Share on other sites More sharing options...
Axeia Posted April 7, 2009 Share Posted April 7, 2009 If you want to store your meta tags in a database I don't see a problem with that, so yes it would work by retrieving it and echoing it in the <head> tags. As for your second question I can't make sense of what you're even asking, so try to explain it a bit better. I'm amazed you could of the first. To the OP, if you're having problems with english try asking the question in both your native language AND english. It will increase the chances of getting a proper response. (might want to check the board rules first if it's allowed, I just assumed it would be) Quote Link to comment https://forums.phpfreaks.com/topic/152955-how-can-i-do/#findComment-803363 Share on other sites More sharing options...
redarrow Posted April 7, 2009 Share Posted April 7, 2009 Why the hell you want the meta tags in the database from the beginning. you should be very careful, means if the database server goes down then your f**** also means if your web site needs re changing to seo, the web page, it be very hard. ever think that relates to the keywords will also need adding to the database. really think hard about this until you do it. if this really needs doing, then use the title in the cms as seo optimize. Quote Link to comment https://forums.phpfreaks.com/topic/152955-how-can-i-do/#findComment-803372 Share on other sites More sharing options...
jerry89 Posted April 7, 2009 Author Share Posted April 7, 2009 okey sorry about my English. 1st. I have CMS, which I have builded and I'm using it as practise for my php knowledge. Now I am trying to edit Meta Keys and Description from Admin page. "As it would save the time to look for the page where are MK and MD" So I'm wondering if its possible to do , and how ? That's all, hope you can understand what I mean Quote Link to comment https://forums.phpfreaks.com/topic/152955-how-can-i-do/#findComment-803389 Share on other sites More sharing options...
Axeia Posted April 7, 2009 Share Posted April 7, 2009 It's possible yes, in fact it wouldn't be any different from normal page content (Unless your CMS works in some unique way). Write something to the database from your admin page, then retrieve it on the page users load. Any reason in particular you're expecting to have difficulty with this? Quote Link to comment https://forums.phpfreaks.com/topic/152955-how-can-i-do/#findComment-803403 Share on other sites More sharing options...
jerry89 Posted April 7, 2009 Author Share Posted April 7, 2009 It's possible yes, in fact it wouldn't be any different from normal page content (Unless your CMS works in some unique way). Write something to the database from your admin page, then retrieve it on the page users load. Any reason in particular you're expecting to have difficulty with this? I was trying to do it, but didnt get to the end. I made new table in database , which I could succesfully echo out the content, then I try to edit it, which I had almost done but something didnt let me update. and then when its done. I want to echo it out in head tag. Which should end the task, and I shuld have it working. I will trying again. Quote Link to comment https://forums.phpfreaks.com/topic/152955-how-can-i-do/#findComment-803473 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.