HI all,
Thanks in advance for all your help.
I have a couple of forms where after review (using profile plugin) the user updates the record. At this point I also have several hidden fields thai I need to do some math on to update the tables.
Can I use {field_name} to do math? Like
<?php
$new_exp_date = {old_exp_date} + 60*60*24*30*365;
$status = {old_status} + 1; // status and old status is a number
?>
or else how would I access the {old_exp_date} value and the {old_status} value to use it in a math function.
Thanks,
the_fitz
Thanks in advance for all your help.
I have a couple of forms where after review (using profile plugin) the user updates the record. At this point I also have several hidden fields thai I need to do some math on to update the tables.
Can I use {field_name} to do math? Like
<?php
$new_exp_date = {old_exp_date} + 60*60*24*30*365;
$status = {old_status} + 1; // status and old status is a number
?>
or else how would I access the {old_exp_date} value and the {old_status} value to use it in a math function.
Thanks,
the_fitz