Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

PHP.GetResultString

Returns the result of the last php script to run.

Component Version macOS Windows Linux Server iOS SDK
PHP 2.9 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ❌ No
MBS( "PHP.GetResultString" )

Parameters

none

Result

Returns the result text.

Description

Returns the result of the last php script to run.
Used to retrieve the results back into to FileMaker after script is run with PHP.Run or PHP.Execute.

Examples

Run test code and get result:

$r = MBS( "PHP.Run"; "echo 'ok';" )
$t = MBS( "PHP.GetResultString" )

See also

Example Databases

Blog Entries

Created 18th August 2014, last changed 18th August 2014


PHP.GetResultContainer - PHP.GetVariable

Feedback: Report problem or ask question.