I’m trying to create a simple snippet that takes a string and URL encodes it but I’m a little new to PHP and what I have isnt working
In usage, the command would be something like the following;
[[urlencode? &input=`any string you can think of`]]
and the snippet looks like this;
$input = (isset($input));
$output = urlencode($input);
return $output;
I know I must be doing something wrong, but given my little PHP experience I can’t tell what it is.