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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to