Hello mates I have a query. I am running a news website. Just suppose my domain is www.xyz.com and my news section is in www.xyz.com/news Now I post an article in www.xyz.com/news and i want to publish its title on www.xyz.com. Can anybody tell me which code to supply by which I get my latest news title on the home page? Thanks
You need to store your post titles in a database first. If you already have this then you can query your database on your homepage to retrieve these titles. If you do not use a database and do not understand how to work with databases then you need to learn PHP/MYSQL interaction, here's a couple of good locations to learn from: http://www.w3schools.com/PHP/php_mysql_intro.asp http://www.tizag.com/mysqlTutorial/
you said: "my news section is in www.xyz.com/news". Is this the section where you enter your news? Did someone create this for you? If yes, then you probably already have database tied in with your application. If that is the case, then you need to just connect to this database and fetch the news feeds. You will need to learn PHP/Mysql in any case.
Is the title in a db? You need to tell us how the db is setup because I can give you the code for it.