Hii all can u help me in resolving my prob...with doubles= quotes..
in my case ::
I hav a sentence called " 6-medium tomatoes, chopped into 1/4" chunks".....but its giving me error....ie the text after 1/4" is not getting displayed...
The reason the text after 1/4 is not being sisplayed is that you have ended the quotes.
I reccommend, and there are other ways, the following:
[php]
$lcSentence = '6-medium tomatoes, chopped into 1/4 \'chunks\'' ;
echo $lcSentence ;
[/php]
This will output:
6-medium tomatoes, chopped into 1/4 'chunks'
Which, if I understand you correctly, is what you are after.
Brief Explanation:
The use of \ indicates that the following character is to be treated as part of the string and so it adds ' to the string rather than ending the string, which is what happens in your original code. It may be worth taking a look at the
PHP manual for this.
Cheers
nathj