[FX.php List] How to add a current date to an edit
Leo R. Lundgren
leo at finalresort.org
Thu Jan 3 10:39:16 MST 2008
Check out PHP's date() function.
-|
3 jan 2008 kl. 18.37 skrev Larry Schultz:
> 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
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
More information about the FX.php_List
mailing list