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