Meta title help

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Apos
Forum Newbie
Posts: 2
Joined: Fri Nov 07, 2008 1:11 pm

Meta title help

Post by Apos »

Hi all
We have the site easytraveller.gr and want to reform it to dynamic using php and Mysql
Could you please tell me when making a new dynamic page how I can say to the new page that has to take new unique title, description and keywords? I suppose that this information exists in the table of Mysql where exists also the other content of the page.
Thank you for your help
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Re: Meta title help

Post by infolock »

I'm not quite following you, sorry. Could you try being a bit more specific?
Apos
Forum Newbie
Posts: 2
Joined: Fri Nov 07, 2008 1:11 pm

Re: Meta title help

Post by Apos »

You may check here http://www.easytraveller.gr/portal. When you click hotels on header and then Athens and then Intervontinental there is a new page made dynamicaly for this hotel retrivinf data from the relevent table on the data base regarding this hotel (Description, facilities ...) . If in the data base I have columns like Meta Title, Meta Description, Meta Keywords can this information be part of the new page and how? As you know search engine request unique meta title and meta descriptions
User avatar
Jaxolotl
Forum Contributor
Posts: 137
Joined: Mon Nov 13, 2006 4:19 am
Location: Argentina and Italy

Re: Meta title help

Post by Jaxolotl »

If the information is stored on your DB (as page contents) of course you can retrieve it and use it on your web page, So the first question is answered.

To help you on the "HOW" part of the question you sould give us mor information about the data structure of your proyect.

By the way, I'd suggest you to take care on how you are accepting GET variables on the query string, it doesn't seems to be optimized an safe from SQLInjection.
Try to render an alternative content when URI string is been manipulated and doesn't fit to your acceptable input data
see http://www.easytraveller.gr/portal/dest ... heraklion5
and
http://www.easytraveller.gr/portal/dest ... heraklion5
Post Reply