nuRunPHPHiddenWithParams
Posted: Thu Nov 03, 2022 9:20 am
Hello, I´m new to nubuilder and i'm asking some guidance in this subject:
I'm trying to run a procedure with "nuRunPHPHiddenWithParams": Starting the procedure seems to work fine since the "#param#" is created and displayed in the form info table:
param "BxZwYXJhbTEWAxYxMjM0NTYWAhZwYXJhbTIWAxYyMzE2NTQ1NDQ1NjQWBw=="
inside the php code the base64_decode("#param#") also seems to work fine since:
$param=base64_decode('#param#');
nuDebug($param);
returns [0] : param1123456param2231654544564
what doesn't work is the $param=json_decode($param,false) since i'm unable to retrieve anything from the object with:
§par1=$param->param1
and also $param=json_decode(base64_decode('#param#'); apparently doesn't create the object.
I separated the "base64_decode" and "json_decode" functions for debugging purposes only.
Any sort of comment or suggestion would be very appreciated.
I'm trying to run a procedure with "nuRunPHPHiddenWithParams": Starting the procedure seems to work fine since the "#param#" is created and displayed in the form info table:
param "BxZwYXJhbTEWAxYxMjM0NTYWAhZwYXJhbTIWAxYyMzE2NTQ1NDQ1NjQWBw=="
inside the php code the base64_decode("#param#") also seems to work fine since:
$param=base64_decode('#param#');
nuDebug($param);
returns [0] : param1123456param2231654544564
what doesn't work is the $param=json_decode($param,false) since i'm unable to retrieve anything from the object with:
§par1=$param->param1
and also $param=json_decode(base64_decode('#param#'); apparently doesn't create the object.
I separated the "base64_decode" and "json_decode" functions for debugging purposes only.
Any sort of comment or suggestion would be very appreciated.