I'm trying to make a news portal that directs you to different page when you click on 'Read' button. The 'Read' button is a dynamic URL and the problem I'm facing now is when I click 'Read' it applies to all the other 'Read' button, like if I click news_id=2 page it will redirect you to news_id=1 page. I have a database table name 'news' with column news_id, and is it possible to use column news_id to display information on my page?
I want it to be like this for example:
if news_id=1 then it will go to Storm News page
if news_id=2 then it will go to Flood News page
but the problem I'm facing now is
if news_id=1 it goes to Storm News page
if news_id=2 it also goes to Storm News page
if news_id=2 it also goes to Storm News page
Sorry for my poor English.