taz321 Posted March 8, 2008 Share Posted March 8, 2008 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 Quote Link to comment Share on other sites More sharing options...
BlueSkyIS Posted March 8, 2008 Share Posted March 8, 2008 dateactioned = NOW() Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.