Jump to content

System date and time


taz321

Recommended Posts

Hi

i was wondering if i can some help on somethings basic and hopefully very quick

 

This is the scenario.

 

1)I have developed an help desk system, where an user would log a call by filling in an online blank form, this contains the date and time when the user had submitted the query.

 

2) An person dealing with the problem would open the call and add his own technical comments and then save it to the database (he updates the call basically)

 

EASY so far - i hope.

 

 

Now this is the code for updating, i just want to know how i would change the end two entites - (dateactioned and timeactioned) so that it would save the current date and time.

 

 

$query = "update form set issuetitle = ".$issuetitle."', datesubmitted = ".$datesubmitted."', timesubmitted ='".$timesubmitted."', systemaffected ='".$systemaffected."', prioritylevel = '".$prioritylevel."', issuedetails ='".$issuedetails."', supportcomments ='".$supportcomments."', clientFname ='".$clientFname."', clientSurname ='".$clientSurname."', teamname ='".$teamname."', clientID ='".$clientID."', employeeID ='".$employeeID."', status ='".$status."', dateactioned ='".$dateactioned."', timeactioned ='".$timeactioned."' where formID =".$formID;

 

 

I hope this is straightfoward.

 

Thanks

 

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/95113-system-date-and-time/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.