If you want to use the " in within the string, you should use ' to surround
the string ie:
$string='.. .';
Thanks
Mark
-Original Message-
From: Diksha Neel [mailto:[EMAIL PROTECTED]
Sent: 01 April 2003 12:21
To: [EMAIL PROTECTED]
Subject: [PHP] writing file
dear all,
Double quotes inside double quotes!
$cname
$string="
aditya
$cnamehi!$city $bemail";
echo "'$contents'";
and you do not need these quotes.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
2 matches
Mail list logo