Re: Name of the variable
| From: | Philip Olson | Date: | Wed, 18 Oct 2000 19:00:22 +0000 |
| Subject: | Re: Name of the variable | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-20963@lists.php.net to get a copy of this message | ||
Hi coolio-
You can print or echo them (I will use echo) :
<?
echo $this_is_a_variable;
?>
or
<?
echo "Hi, my name is $this_is_a_variable";
?>
but not :
<?
echo '$this_is_a_variable';
?>
see : http://www.php.net/manual/language.variables.php
see : http://www.zend.com/zend/tut/using-strings.php
philip olson
--
without php my name would be ili !
On Wed, 18 Oct 2000, coolio wrote:
> Hi
>
> If I got $this_is_a_variable, how can I obtain the string
> "this_is_a_variable"?
>
> --
> bye!,
> coolio coolio@mdq.com
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>