urlencode demo : urlencode « Form « PHP






urlencode demo

 
<?php
$interest = "arts";
$homepage = "http://www.java2s.com";
$query = "homepage=".urlencode( $homepage );
$query .= "&interest=".urlencode( $interest );
echo $query;
?>
  
  








Related examples in the same category