linking photo tagging script to database

I am using the image tagging script available at http://www.fotonotes.net/#installations

it stores the image tagging data in a xml file. I have successfully implemented the image tagging functionility. But I want to link it to my database so that it works like orkut or facebook. ie, when I tag an image, I want that when a user clicks on that tag, he should be taken to that users profile.

I'm not sure if I have explained it properly. But if you look at orkut image tagging, you will understand what I mean.

Explaination:

a user uploads a snap that has two friends. (both the friends are users of my website: user A and User B). I tag my friends in that image with their names, ie User A and User B. Currently, when any user moves his mouse pointer over that image, it displays their names properly. But what I want is, if any user clicks on the User A tag, he should be taken to his profile page on my website.


Please guide. Also please let me know if you need any further details.
technortusAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Tyler LaczkoCommented:
on the image place an onclick='document.location=\"linktoprofile\"'

based on your site structure your links will be dependant on some variable that you can link to eg

domain.com/profile.php?userid=a
domain.com/profile.php?userid=b
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Scripting Languages

From novice to tech pro — start learning today.