$string="form of words from an input box";
$string=urlencode($string);
$url="http://www.domain.com/query?string=$string";
is fine no problems there
but when i try
$string="form of words from an input box";
$string=urlencode($string);
$url="http://www.domain.com/query?string=\"$string\"";
i lose the $string in the $url
how do i code it so I can encapsulate my $string inside" (quotes) ?
cheers if you can help 🙂