php help

sliperypete

Limp Gawd
Joined
Jun 12, 2006
Messages
143
Ok here is a problem that I am running into.

I am writing an IT helpdesk ticketing system for school and I am just about done with it. The one thing I cannot figure out for the life of me is how I should do this part. When a technician logs in and sees all of the tickets assigned to him, (they show up in a table with the ticket ID and all of the main info in a table row. I want the tech to be able to click on a "link" which would be the ticket ID and then be able to cose the ticket. How do I code it so when he clicks on the ticket ID on the assignment page and the ticket ID is passed to a popup window so he can closet he proper ticket ?

Thanks in advance
 
You can use a modal dialog window, in which case you build a generic javascript function that requires the ticket ID# to be passed into it. From which you open a modal dialog that points to another page where you can close out the ticket. The ID # will need to be passed in the query string.

When you query the database result set (making the table), just pop the ID# into the javascript call.
 
Mine is just about done but its nothing fancy. Once the semester is over I am going to make it really nice, right now I just need a grade
 
Back
Top