-
Aug 24, 2003, 04:51 AM
#1
script help
hey dudes!
I have a support ticket system script that I'm busy editing and customizing... the problem is that tho I can get around I'm still a bit of a script baby...
now here's the setup:
when a ticket is submitted the variable ticketcreatedby_id is created from the user_id var. Thing is there's a third variable ticketowner_id which gives the user control over the ticket... now ticketowner_id is blank till a user takes ownership... what I want to do is get rid of the take ownership deal altogether w/out having to write over the code.. so the idea is to hardcode a check into a footer.inc document I've created.
what I want to do is whenever footer.inc is loaded, I want to connect to the database, check for whether or not ticketowner_id equals ticketcreatedby_id; where is does not I want to make ticketowner_id = ticketcreatedby_id
so.. any ideas?
I have one but don't want to post till I see what the experts say :-[
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules