H-
Thank you very much!
I feel kinda dumb.
I think I'll take a break. 6 hours in front of a monitor is too much.
8^)
Thanks for the assist. rawurlencode worked great.
-Sterling
Alexander Wagner wrote:
>
> Sterling wrote:
> > $topic = "Aerospace & Commercial Space";
> >
> > $link_value = st
> I've been able to escape the 'space' character in a variable so it can
> be safely passed through a URL but I'm having trouble finding anything
> that works for escaping the '&' ampsand.
php.net/urlencode
as for your code:
> $topic = "Aerospace & Commercial Space";
>
> $link_value = str_repla
Sterling wrote:
> $topic = "Aerospace & Commercial Space";
>
> $link_value = str_replace("&", '%26', $topic);
> $link_value = str_replace(' ', '%20', $topic);
This should be
$link_value = str_replace("&", '%26', $topic);
$link_value = str_replace(' ', '%20', $link_value);
Anyway, this is this wr
3 matches
Mail list logo