Re: [PHP] Quote in input tag value?

2002-02-07 Thread Jim Lucas [php]
you might want to check your coding, but that is a parse error waiting to happen. Jim Lucas - Original Message - From: "Rick Emery" <[EMAIL PROTECTED]> To: "'Nathan Cassano'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, Febru

Re: [PHP] Quote in input tag value?

2002-02-07 Thread Erik Price
On Thursday, February 7, 2002, at 04:54 PM, Rick Emery wrote: > I prefer: print" "; > > -Original Message- > > If there is a quote mark in an input tags value what is the correct way > to print the quote? > > > > or > > > > It probably doesn't really matter, but from a purist's poi

RE: [PHP] Quote in input tag value?

2002-02-07 Thread Rick Emery
I prefer: print" "; -Original Message- From: Nathan Cassano [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 3:54 PM To: [EMAIL PROTECTED] Subject: [PHP] Quote in input tag value? If there is a quote mark in an input tags value what is the correct way to print the quote?

Re: [PHP] quote

2001-08-29 Thread Jack Dempsey
i'm not sure what you're trying to do, but why not this? $var = 'foo'; $quoted_var = '"' . $var . '"'; jack davidt wrote: > php-general - > > how to quote the value of the variable? I am looking for function it is something >like > $testvar=false > quotefunc($testvar); > now the value is "fa

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