This topic is locked

Add/Update Problem with 3.1

10/19/2006 5:25:49 AM
PHPRunner General questions
S
scy author

In version 3

I have been using

$values["UpdateBy"]="'".$_SESSION["UserID"]."'";

$values["LastUpdate"]="NOW()";


In the edit page before record updated custom code in step 11 to add an updated by and time of update.
In 3.1 this does not add the time/date and it wraps the username in quotes.

Is there a reason this does not work in 3.1?

J
Jane 10/19/2006

Hi,
use the following code in the PHPRunner 3.1:

$values["UpdateBy"]=$_SESSION["UserID"];

$values["LastUpdate"]=NOW();



You don't need to add single quotes in the PHPRunner 3.1.

S
scy author 10/19/2006

Hi,

use the following code in the PHPRunner 3.1:
You don't need to add single quotes in the PHPRunner 3.1.


Thanks.