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 = 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 wrong way to go about it.
> This line
> $link_value = rawurlencode($topic);
> will do the whole job.
>
> regards
> Wagner
>
> --
> "In place of infinity we usually put some really big number, like 15."
> - Anonymous Computer Science professor
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]