You are here: Re: Problem with quotes « PHP Programming Language « IT news, forums, messages
Re: Problem with quotes

Posted by Toby A Inkster on 03/05/07 12:41

andy.z wrote:

> $myArray = ( "Quote" => "It's time, "he said."" );

Backslashes:

$myArray = array("Quote" => "It's time, \"he said\"");

> As you can see the quotes are complex already - but this line must be
> written from another language enclosed in single quotes as

What is this other language? What mechanisms does this other language have
for escaping quotes?

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux

* = I'm getting there!

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация