xml string url encode in jquery laravel code example Example: php encode url parameters urlencode("query string params");