Mysql and webform question

I’m currently creating a webform for are user base to send tickets on…
it’s working great, we are forcing the users to enter info about them and
there location etc… things that we need. Any who… I was ask if I
could also add to the helpdesk form a place for users to enter their Ticket
ID and hit submit and they would get the latest results of there ticket. My
question is… in mysql, where is the content of the ticket history
stored… and if you have any suggustions as to the code I can use in the
html page…

I would be very much greatfull…

Thank you

-Bryant Taylor
Virata Corp.