Re: [PHP] quote problem

2001-03-02 Thread Philip Olson
A couple resources to help : http://www.php.net/manual/en/language.types.string.php http://www.zend.com/zend/tut/using-strings.php Each describes the ability to do : $var = 'blah "blah" blah'; $var = "blah 'blah' blah"; $var = "blah \"blah\" blah"; And using here doc, <<< , like so

Re: [PHP] quote problem

2001-03-02 Thread Simon Garner
From: <[EMAIL PROTECTED]> > Unfortunatly thats not an option since some dumb founded people will be using > the script and they dont understand that concept... > > any other suggestions? > > - Peter Okay, a heredoc may be better then: blah "blah" blah END; echo $title; ?> The syntax in yo

Re: [PHP] quote problem

2001-03-02 Thread Simon Garner
From: <[EMAIL PROTECTED]> > Hey, > > Wondering if any of you can help me with a problem > > im trying to get something like this into $var : > > blah "blah" blah > > How can I do it if its multi lined > > Someone suggested > content = END << > BLAH BLAHC > BLHAC > END; > > but that doesnt

[PHP] quote problem

2001-03-02 Thread PeterOblivion
Hey, Wondering if any of you can help me with a problem im trying to get something like this into $var : blah "blah" blah How can I do it if its multi lined Someone suggested content = END << BLAH BLAHC BLHAC END; but that doesnt seem to work with quotes Thanks - Peter -- PHP General Ma