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.SetVariable
Declares the variables in inside of PHP.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| PHP | 2.9 | Yes | Yes | Yes | Yes | No |
MBS( "PHP.SetVariable"; VariableName; TextValue ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| VariableName | the name of the variable | |
| TextValue | the value of the variable |
Result
Returns OK on success.
Description
Declares the variables in inside of PHP.This is one way to get data into php from FileMaker.
Examples
Set varibale and output it:
Set Variable [ $result ; Value: MBS( "PHP.SetVariable"; "c"; 5 ) ]
Set Variable [ $result ; Value: MBS("PHP.Run"; "echo $c;") ]
Set Field [ Simple_php::result ; MBS("PHP.GetResultString") ]
See also
Blog Entries
Created 18th August 2014, last changed 1st April 2019
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins