Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  

PHP.GetResultString

Returns the result of the last php script to run.

Component Version macOS Windows Server FileMaker Cloud FileMaker 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


PHP.GetResultContainer   -   PHP.GetVariable

Feedback: Report problem or ask question.




Links
MBS FileMaker tutorial videos