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
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
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
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
4 matches
Mail list logo