Re: Quotes and Values
| From: | Philip Olson | Date: | Thu, 18 Jan 2001 22:46:49 +0000 |
| Subject: | Re: Quotes and Values | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-35486@lists.php.net to get a copy of this message | ||
Hello Karl,
This tutorial will be of use :
Using Strings :
----------------------------------------------------------
http://www.zend.com/zend/tut/using-strings.php
In short, three ways come to mind :
$a = "<form name=\"$name\" action=\"$action\"
method=\"$method\">";
$a = '<form name="'.$name.'" action="'.$action.'"
method="'.$method.'">';
$a = "<form name='$name' action='$action'
method='$method'>";
Which will make more sense after reading (and printing out) the above
tutorial. As well as :
PHP Manual : Strings :
----------------------------------------------------------
http://www.php.net/manual/en/language.types.string.php
Regards,
Philip
On Thu, 18 Jan 2001, Karl J. Stubsjoen wrote:
> Hello,
>
> I am trying to do this:
>
> $myVal = "<form name="$name"" action="$action"
> method="$method"">
> *trying to accomplish putting " qotes around my string values*
>
> Thanks!
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>