rajeshkr Posted February 10, 2014 Share Posted February 10, 2014 Hi, I am fetching content from url & causing problem. EX. URL: http://localhost/pb-customer-portal/forms/service_call_report1.php?customer_name=Rajesh%20Kumar&customer_address=229%20house%20no%20&%20gali%20no%2034,%20harsh%20vihar&customer_address1=undefined&call_no=122451&machine_model_no=854221144&machine_serial_no=963258 when i am fetching by using $customer_address=$_REQUEST["customer_address"]; i should get address= 229 house no & gali no 34, harsh vihar, But i only getting 229 house no. (not getting after Bold & in URL) Can anyone suggest how to tackle this problem. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/286084-problem-in-url/ Share on other sites More sharing options...
PravinS Posted February 10, 2014 Share Posted February 10, 2014 use urlencode() and urldecode() functions Quote Link to comment https://forums.phpfreaks.com/topic/286084-problem-in-url/#findComment-1468379 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.