I don't know the answer to why, but you can do this: $str = "I can use ".$hash['vars']." in strings";
:) Justin French -------------------- Creative Director http://Indent.com.au -------------------- on 02/05/02 6:42 PM, Ferry van Steen ([EMAIL PROTECTED]) wrote: > Hey there, > > why do these work: > $vars = "vars"; > $ar[0] = "arrays"; > $hash['vars'] = "hashes"; > str = "I can use $vars in strings"; > str = "I can use $ar[0] in string"; > > while this one doesn't: > str = "I can NOT use $hash['vars'] in strings"; > > Kind regards > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php