Displaying a query as a html link

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
fantastapotamus
Forum Newbie
Posts: 3
Joined: Sat Apr 19, 2008 1:28 pm

Displaying a query as a html link

Post by fantastapotamus »

Hi all,

I'm new to php and I've been having problems implementing it into a (mock) website I'm woking on. I'm trying to implement tagging; so a user can either tag an item with what they seem fit, or click on a tag and that will retrieve a list of other items that has that tag.

I've managed (just!) to allow users to tag and I can retrieve all tags that an item has (should probably mention that the items - its a fake e-commerce site - aren't stored in a database, just on seperate html pages) but don't know how to retrieve them as a HTML link, which the user can click on and then see a list of all other items with that tag!

It's driving me a bit bonkers! I was surprised that I couldn't find a decent tutorial of implementing tagging - which I was kind of hoping on.

Anyway, if anyone can help I'd be most appreciated.

:D
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Re: Displaying a query as a html link

Post by Kieran Huggins »

you really need a database to start doing things like tagging, since you need a server side data store.

If you're running Windows,, try Uniform Server or any other WAMP server - they all come with MySQL and PHPMyAdmin.
Post Reply