$output = rawurlencode($input)
Hi guys,
I want to use the php function rawurlencode for an output-filter, I’m no php-hero, and this would be the first snippet I ever create,, and I’m not quite sure about all this, ’but considering the documentation, would the snipped rawurlencode look sort of like this? (warning: aircode coming up)
$output = rawurlencode($input)
return rawurlencode($input)
Quote from: StevenLangbroek at Jul 15, 2010, 06:41 AM
Hi guys,
I want to use the php function rawurlencode for an output-filter, I’m no php-hero, and this would be the first snippet I ever create,, and I’m not quite sure about all this, ’but considering the documentation, would the snipped rawurlencode look sort of like this? (warning: aircode coming up)
$output = rawurlencode($input)
You need to return the output...
return rawurlencode($input)
<?php return rawurlencode($input) ?>
.
A semicolon to end the statement.