Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |
en:create:functions:registervariable [29.09.2020 17:28] – sophia.schauer | en:create:functions:registervariable [21.04.2024 20:29] (current) – [registerVariable()] admin |
---|
* //variableName//\\ A string (in quotation marks) with the name of the variable. This cannot be the variable itself (e.g. ''$item''), a string with the name of the variable (e.g. 'item'). | * //variableName//\\ A string (in quotation marks) with the name of the variable. This cannot be the variable itself (e.g. ''$item''), a string with the name of the variable (e.g. 'item'). |
| |
| **Important:** Changes to variables are applied to subsequent PHP code only if the corresponding PHP code runs to the end. Functions such as ''repeatPage()'', ''goToPage()'' or ''pageStop()'' interrupt the execution so that the changes are not applied. Please note that this behavior varies depending on the function and program version. The use of [[:en:create:questions:internal|internal variables]] is a robust alternative. |
===== Use with isset() ===== | ===== Use with isset() ===== |
| |