Page 1 of 1

Displaying a query as a html link

Posted: Sat Apr 19, 2008 1:33 pm
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

Re: Displaying a query as a html link

Posted: Sun Apr 20, 2008 2:49 pm
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.