news website with php and links
- by mohammad reza
newly i have created a news website,
everything is based on php and mysql,
NOW with more attention on other news website i see something wrong with my site
in all of them when you are click on a news, that news open like a new page and in link bar you can see the link of that news like this:
http://www.wired.com/wiredscience/2012/09/space-shuttle-endeavour-lands-in-los-angeles/
BUT in my website i have a page that named viewer.php and this page connected to database,
when you are click on a news in my site you see something like this in link bar:
www.example.com/viewer.php?ne_id=14
ne_id in my news table set specific number for a news like 14
and all of news (title, content and so on)saved on database
how that site work?
how to create like that site?
i don't have any idea?
if you know somthing (EVERYTHING) i need it
please , i have really confused
really sorry for my terrible english
and thanks for your time