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]
|