string rawurlencode ( string str ) converts non-alphabetic symbols into numerical equivalents preceded by a percent sign : rawurldecode « HTML « PHP






string rawurlencode ( string str ) converts non-alphabetic symbols into numerical equivalents preceded by a percent sign

 
<?
    $name = 'P "H" H';
    $safe_name = rawurlencode($name);
?>
  
  








Related examples in the same category

1.string rawurldecode ( string str ) converts a %-escaped string into its original format, reversing the operation of rawurlencode( ) .