Skip to content

Instantly share code, notes, and snippets.

@gseilheimer
Created February 1, 2017 20:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gseilheimer/d9adca0829fb34df0c6c8a551f72ea15 to your computer and use it in GitHub Desktop.
Save gseilheimer/d9adca0829fb34df0c6c8a551f72ea15 to your computer and use it in GitHub Desktop.
redaxo rex_var::toArray
Zu den Arrays
Eingabe:
CODE: ALLES AUSWÄHLEN
$value1 = rex_var::toArray('REX_VALUE[1]');
<input type="text" name="VALUE[1][]" value="<?php echo $value1[0]; ?>" />
Ausgabe
CODE: ALLES AUSWÄHLEN
$value1 = rex_var::toArray('REX_HTML_VALUE[1]');
vg Thomas
<pre>
<?php
$arr = rex_var::toArray('REX_VALUE[3]');
print_r($arr);
?>
</pre>
lg
Joachim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment