[PHP] Quotes and Values

2001-01-18 Thread Karl J. Stubsjoen
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:

Re: [PHP] Quotes and Values

2001-01-18 Thread Darryl Friesen
$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 . '"';

Re: [PHP] Quotes and Values

2001-01-18 Thread jeremy brand
down.com/ On Thu, 18 Jan 2001, Karl J. Stubsjoen wrote: Date: Thu, 18 Jan 2001 15:44:06 -0700 From: Karl J. Stubsjoen [EMAIL PROTECTED] To: PHP Mailing List [EMAIL PROTECTED] Subject: [PHP] Quotes and Values Hello, I am trying to do this: $myVal = "form name="$name"" a

Re: [PHP] Quotes and Values

2001-01-18 Thread Philip Olson
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\"

Re: [PHP] Quotes and Values

2001-01-18 Thread Chris Lee
alot of people inside on escaping your double quotes, I dont, I use single quotes, its nicer to read. echo "form method='post' name='form_1' action='somepage.php'\n"; echo "form method=\"post\" name=\"form_1\" action=\"somepage.php\"\n"; I find the prior easier to read. they both work 100% no

Re: [PHP] Quotes and Values

2001-01-18 Thread Josh G
e much beer in you. Beer leads to intoxication, intoxication to hangovers, and hangovers to... suffering. - Original Message - From: "Chris Lee" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 19, 2001 9:51 AM Subject: Re: [PHP] Quotes and Values alot of people inside o