Hi,
In a group I have an element calc '{hr5i3_fb_stay___arrival_date}' that is filled by another element date. No problem here.
I need to calculate in a calc element '{hr5i3_fb_stay___id_week}' a value with the date, searching the date of that element in a table with PHP and a SQL request, .
If I use in the PHP "more" details tab :
I always get an empty value (or zero if I add (int)), not the date displayed in the arrival_date element.
What is my error?
In a group I have an element calc '{hr5i3_fb_stay___arrival_date}' that is filled by another element date. No problem here.
I need to calculate in a calc element '{hr5i3_fb_stay___id_week}' a value with the date, searching the date of that element in a table with PHP and a SQL request, .
If I use in the PHP "more" details tab :
Code:
return '{hr5i3_fb_stay___arrival_date}';
What is my error?