NYCPHP Meetup

NYPHP.org

[nycphp-talk] need help understanding parsing difference

Michael Southwell southwell at dneba.com
Tue Nov 4 17:17:50 EST 2003


Thanks, Keith, Bryan, and Adam, for your *very helpful* responses.

At 01:59 PM 11/4/2003, you wrote:
>When $PRODUCTS[$here]["v1b"]="holster"
>and $j="v1b"
>echo "<a href=\"path/$PRODUCTS[$here][$j]\"... evaluates to 
>path/Array[v1b] which is meaningless
>but echo "<a href=\"path/".$PRODUCTS[$here][$j]."\"... evaluates to 
>path/holster which is correct (or to be more precise, what I wanted).
>Why this difference?  Thanks in advance.

Michael G. Southwell =================================
DNEBA Enterprises
81 South Road
Bloomingdale, NJ 07403-1419
973/492-7873 (voice and fax)
southwell at dneba.com
http://www.dneba.com
======================================================




More information about the talk mailing list