Hi..i originally posted this in the wrong forum for what i wanted to achieve, so here goes....
I have changed the htaccess file so this;
changes to this;
website.com/whatson.php?event_id=1&cat_name=comedy&event_name=some ones name
website.com/whatson/1-some ones name.html
One thing that i cant get my head around (and yes, ive been searching around for the last few days!)....what php code do i need to have to change the actual links in my webpage (below) to a seo friendly link?
rewriterule ^whatson/([^-]+)-([^&]+)\.html$ /whatson.php?event_id=$1&cat_name=$2&event_name=$3 [L]
....then obvioulsy i then need to change the values again for a mysql query (maybe this would be part 2 of the question!)
<a href="whatson.php<?php echo $row_main['event_id']; ?>&cat_name=<?php echo $row_main['cat']; ?> &event_name=<?php echo $row_main['eventname']; ?>"
...i hope someone could literally spell it out for me...thanks in advance