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.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
PHP.GetVariable
Returns the value of the variable.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| PHP | 2.9 | Yes | Yes | Yes | Yes | No |
Parameters
| Parameter | Description | Example |
|---|---|---|
| VariableName | the name of the variable to return | $name |
Description
Returns the value of the variable.Examples
Set and query variable:
Set Variable [ $result ; Value: MBS( "PHP.SetVariable"; "c"; 5 ) ]
Set Variable [ $result ; Value: MBS("PHP.Run"; "$c = $c + 1; echo $c;") ]
Show Custom Dialog [ "c: " & MBS( "PHP.GetVariable";… ; "Result: " & MBS("PHP.GetResultString") ]
See also
Blog Entries
Created 18th August 2014, last changed 1st April 2019
PHP.GetResultString - PHP.Init
Feedback: Report problem or ask question.
Links
MBS FileMaker blog