RE: Echo Syntax

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I wonder if this gives you the ability to use double-quotes and single-quotes
in the same block, without having to use the escape character ('\') to escape
a double quote?

It would give you variable translations and double-quotes at the same time,
with very little effort.

Rob. 

-----Original Message-----
From: php-objects@xxxxxxxxxxxxxxx [mailto:php-objects@xxxxxxxxxxxxxxx] On
Behalf Of Emrah Özcan
Sent: 05 November 2007 13:53
To: php-objects@xxxxxxxxxxxxxxx
Subject: RE:  Echo Syntax

Hi Rob,

I found the same example in Facebook examples, quoted as below;

$invfbml = <<<FBML

<fb:name uid="$user" firstnameonly="true" shownetwork="false"/> Atatürk'ün
Sözleri uygulamasını ekleyip kullanmanızı tavsiye ediyor!

<fb:req-choice
url="http://www.facebook.com/add.php?api_key=$appapikey&next=$sNextUrl";
label="Atatürk'ün Sözleri" />

FBML;

I think this <<<FBML is the opening quote and the one in the end is the
closing quote as it would be in the following example (to tell the truth I
have never tested the code in  the following format);

$invfbml = "<fb:name uid="$user" firstnameonly="true" shownetwork="false"/>
Atatürk'ün Sözleri uygulamasını ekleyip kullanmanızı tavsiye ediyor!

<fb:req-choice
url="http://www.facebook.com/add.php?api_key=$appapikey&next=$sNextUrl";
label="Atatürk'ün Sözleri" />";

Also, I have seen an if code as below for the first time;

                İf () :

endif;

I think the it is the same logi. Am I right?

 

Best,

Emrah

***********************************************************************************
Any opinions expressed in email are those of the individual and not necessarily those of the company. This email and any files transmitted with it are confidential and solely for the use of the intended recipient 
or entity to whom they are addressed. It may contain material protected by attorney-client privilege. If you are not the intended recipient, or a person responsible for delivering to the intended recipient, be advised that you have received this email in error and that any use is strictly prohibited.

Random House Group + 44 (0) 20 7840 8400
http://www.randomhouse.co.uk
http://www.booksattransworld.co.uk 
http://www.kidsatrandomhouse.co.uk
Generic email address - enquiries@xxxxxxxxxxxxxxxxx

Name & Registered Office:
THE RANDOM HOUSE GROUP LIMITED
20 VAUXHALL BRIDGE ROAD
LONDON
SW1V 2SA
Random House Group Ltd is registered in the United Kingdom with company No. 00954009, VAT number 102838980
***********************************************************************************



PHP Data object relational mapping generator
http://www.metastorage.net/ 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-objects/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/php-objects/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:php-objects-digest@xxxxxxxxxxxxxxx 
    mailto:php-objects-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    php-objects-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux