Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
en:create:functions:registervariable [29.09.2020 17:28] sophia.schaueren:create:functions:registervariable [21.04.2024 20:29] (current) – [registerVariable()] admin
Line 7: Line 7:
   * //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() =====
  
en/create/functions/registervariable.txt · Last modified: 21.04.2024 20:29 by admin
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki