[FX.php List] How to add a current date to an edit

Larry Schultz schultzl at sbcglobal.net
Thu Jan 3 10:37:18 MST 2008


I need  to update a date field in FM during an edit. I don't know the  
syntax  for this, and I would suppose there is a fx.php or php  
command/argument for this.

The code I'm using for the "FMEdit" is:

<?php
$edit_result_edit = clone($PeritusFX);
$edit_result_edit->layout = 'TranslatorEvaluationForWeb';
$edit_result_edit->AddDBParam('-recid', $CurrentRecord);
$edit_result_fields = array(
'TranslatorType'=>$_POST['TranslatorType'],
'Rating_Accuracy'=>$_POST['Rating_Accuracy'],
'Rating_Completeness'=>$_POST 
['Rating_Completeness'],...........................


All help is appreciated as usual.

Larry


More information about the FX.php_List mailing list