You have received a number of responses on this. Here is another.
When assigning text or html in a variable (or for echo) it is generallly a good
idea to use single quotes and exit for variable insertion. That way you don't
have to worry about missing one or two errant HTML wuotes.
For example
You need to put backslashes before your quotes in your echo statement. Like
this:
echo "Your feedback has been sent to mailto:$address\";>$name";
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message-
From: Steve Wright
escape the double quotes around the href... with \"
PHP thinks youe are ending the echo string prematurely.
-Original Message-
From: Steve Wright [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 31, 2001 11:13 AM
To: PHP List
Subject: [PHP] HELP!! What wrong with this code...
Hey, i am g
3 matches
Mail list logo