Hi all,
i am writing my own news article section on my site, and store each article in a mysql database. Each article has a unique id, a title, the main body and thanks to the jquery plugin, it's own url-friendly slug.
However, I am not sure how on earth I go about fetching the article when linking to the slug.
How do i get:
www.site.com/news/nice-looking-title/
to work like:
www.site.com/news/index.php?id=1
so that i can then use SQL to fetch the record from the MySQL table such as:
tbl_news:
news_id
news_title
news_slug
news_body
news_date
is the .htacccess involved in doing this?
As ever, all and any help is most appreciated! :)
paul