Saturday, 28 September 2013

PHP MySQL Search and Results

PHP MySQL Search and Results

Lets say I have table with the following...
id | name | tag
1 title tag-1, tag: 2
A post displays a link like so...
http://www.site.com/tag/tag_2
On the tag page, it searches the $_GET for the tag and displays the results.
I want to display the original tag name which would be tag: 2 on the tag
page. How can I go about this.

No comments:

Post a Comment