Re: (newbie) questions abot vars and args
| From: | Mitja Stepan | Date: | Fri, 26 Jul 2002 16:47:50 +0000 |
| Subject: | Re: (newbie) questions abot vars and args | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-109790@lists.php.net to get a copy of this message | ||
1) echo '$variable'; // THE TRICK IS IN SINGLE QUOTES
--
Lp,
Mitja
"Alexander Ross" <alexross@bleen.net> wrote in message
news:20020726154036.89840.qmail@pb1.pair.com...
> 1) Given a variable how can I echo the var's name, not its value??
> 2) Is there a way for PHP function to handle a dynamic number of
arguments?
> In other words, I want to write a function that takes any number of
> arguments (strings) and echos each of them with a <br> appended to each of
> them.
>
> Thanks for your help everybody
>
>