Hello, I'm bit confised how to pass this using "urlencode". These are my variables
$companyname= "American MSI"; $companylocation = "Moorpark, CA";
http://page.php?companyname=urlencode($companyname)&companylocation=urlencode($companylocation>
My question is , is this the right syntax to use? Any help would be appreciatted.
try this...
$companyname = urlencode(\"American MSI\"); $companylocation = urlencode(\"Moorpark, CA\");
then you can just pass the variables....
http://page.php?companyname=$companyname&companylocation=$companylocation
Thanks Matt that worked!...