Re: Quotes and Values
| From: | Darryl Friesen | Date: | Thu, 18 Jan 2001 22:42:56 +0000 |
| Subject: | Re: Quotes and Values | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-35480@lists.php.net to get a copy of this message | ||
> $myVal = "<form name="$name"" action="$action"
> method="$method"">
> *trying to accomplish putting " qotes around my string values*
Try
$myVal = "<form name=\"$name\" action=\"$action\"
method=\"$method\">";
or
$myVal = '<form name="' . $name . 'action="' . $action .
'" method="' .
$method . '">';
- Darryl
----------------------------------------------------------------------
Darryl Friesen, B.Sc., Programmer/Analyst Darryl.Friesen@usask.ca
Education & Research Technology Services, http://gollum.usask.ca/
Department of Computing Services,
University of Saskatchewan
----------------------------------------------------------------------
"Go not to the Elves for counsel, for they will say both no and yes"