Hi,

I recently begin to work with MYSQL, php and html and I have this problem. On the homepage of my site on the sidebar I have a section where it tells you the latest blogs that have been posted. Now here comes the problem. I wish that whenever I click of the blog it opens the blog page with the right content of the posted clicked.

My problem is how I am going to link the title on the homepage with the content of the blog on another page.

Thank you
Luca Tabone

Recommended Answers

All 3 Replies

Few questions for you;

(1) Are the blogs in the same directory as the index page? For example, if you have www.domain.com/index.php, are the blogs at www.domain.com/blogs/1.php?
(2) I would imagine the blogs have some sort of postID and/or blogID? If so, can you tell us which they have.
(3) Can you post the code you are using from the homepage?

Member Avatar for diafol

I agree with jr - post your code. You can't expect any help with such an obscure plea.

Are you using blog framework e.g. wordpress?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.