Page 1 of 1

how to include double quotation ""

Posted: Fri Feb 15, 2008 3:38 am
by ali91
please i want to include the double qutation in my texe area can some one help me ?

Re: how to include double quotation ""

Posted: Fri Feb 15, 2008 7:30 am
by Chris Corbyn
:arrow: Moved to PHP code.

Could you elaborate please?

Code: Select all

<?php
 
echo '"';
//or
echo "\"";
 
 ?>

Re: how to include double quotation ""

Posted: Fri Feb 15, 2008 12:07 pm
by anjanesh
ali91 wrote:please i want to include the double qutation in my texe area can some one help me ?
text area ?

Code: Select all

<input type="text" name="txt1" value="Arthur C. Clarke's \"The Sentinel\""/>
<input type="text" name="txt1" value='Arthur C. Clarke\'s "The Sentinel"'/>
backslashes arent required in <textarea> blocks.

Re: how to include double quotation ""

Posted: Fri Feb 15, 2008 12:52 pm
by RobertGonzalez
Are you asking how to escape a string?