note 3591 deleted from Variable variables by ronabop
| From: | ronabop@php.net | Date: | Sat, 19 Aug 2000 03:27:40 +0000 |
| Subject: | note 3591 deleted from Variable variables by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-2597@lists.php.net to get a copy of this message | ||
Can anyone tell me why this doess not work:
<pre>
$title = "Details for $result_row["first_name"]
$result_row["last_name"]";
</pre>
but this does:
<pre>
$first_name = $result_row["first_name"];
$last_name = $result_row["last_name"];
$title = "Details for $first_name $last_name";
</pre>
I'm running PHP 3.11 on IIS / NT. Haven't tried it on my RHAT box yet. Thanks for any
help.