[PHP] Strings in URL

2001-03-26 Thread Claudia
I am attempting to pass a string value via a URL. I have tried using urlencode and ereg_replace--with no luck. Here is sample code: $headline=urlencode("$headline"); print "a href ='http://www.contus.com/test_quote/quotepage.php3?site=$sitepage=miniquote; subject=$headline'bContact us for more

RE: [PHP] Strings in URL

2001-03-26 Thread Jack Dempsey
I believe you have to urldecode. Try that and see what happens... -jack -Original Message- From: Claudia [mailto:[EMAIL PROTECTED]] Sent: Monday, March 26, 2001 9:41 PM To: [EMAIL PROTECTED] Subject: [PHP] Strings in URL I am attempting to pass a string value via a URL. I have tried

Re: [PHP] Strings in URL

2001-03-26 Thread David Robley
On Tue, 27 Mar 2001 12:11, Claudia wrote: I am attempting to pass a string value via a URL. I have tried using urlencode and ereg_replace--with no luck. Here is sample code: $headline=urlencode("$headline"); print "a href

Re: [PHP] Strings in URL

2001-03-26 Thread CC Zona
In article 99ou1p$tif$[EMAIL PROTECTED], [EMAIL PROTECTED] ("Claudia") wrote: $headline=urlencode("$headline"); print "a href ='http://www.contus.com/test_quote/quotepage.php3?site=$sitepage=miniquote; subject=$headline'bContact us for more information/b/a/font"; Then in the