Got the following php script to extract out 'actualtag' from URL input as follows:
<?php $url = $HTTP_SERVER_VARS["REQUEST
_URI"]; list($trash, $directory, $tag) = split('[/]', $url);?>
Next, I have an sql query to lookup table 'entry_keywords' for the text 'actualtag' (or whatever that it entered in the URL).
Using a 'LIKE %$tag%' will cause any character that matches 'actualtag' to display the results.
1. Is there anyway to do an exact match? (i.e. if you entered actual, no results will be displayed. it must be actualtag)
2. The table 'entry_keywords' consist of many other keywords (i.e. movies video trailer ... and many more), seperated by space. Is there anyway to match any of the keywords?
For example, if keyword 'movies' or 'video' or 'trailer' is entered, it'll display the result accordingly, but subjected to exact matching as stated above.