Shortcode and PHP
-
Hey,
I have some problems with Shortcode and PHP:
My code below:
<?php $input = array("1","2","3"); $rand_keys = array_rand($input, 2); echo $input[$rand_keys[0]]; echo $input[$rand_keys[1]]; ?>
Of course, I have the option Shortcode and PHP – unfortunately nothing is displayed.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Shortcode and PHP’ is closed to new replies.