Re: quoting issues in PHP
| From: | Ron Wills | Date: | Tue, 27 Feb 2001 21:02:51 +0000 |
| Subject: | Re: quoting issues in PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41875@lists.php.net to get a copy of this message | ||
I don't believe php uses any type of Perl quoting conventions such as qq.
If you do need to use quotes within quotes you can use the '\' to remove
the quotes value, such as:
$text = "The following text is \"quoted\"";
Or if that doesn't work (like adding the return value of a function to a
string) you can use the '.' operator to concat your results:
$test = "The current directory is :". getcwd();
I hope this helps you out. Good Luck :-)
kevin1 wrote:
> Is there a qq operator like Perl's in PHP?
>
> --
> 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
--
209 Media <http://www.209media.com>
Ron Wills <ron@209media.com>
Programmer