Re: Include " quotes inside textbox
| From: | Chana Black | Date: | Thu, 01 Feb 2001 18:26:21 +0000 |
| Subject: | Re: Include " quotes inside textbox | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-37676@lists.php.net to get a copy of this message | ||
If you want to put a " in an echo statement, you need to escape it first by putting the / before it, like /"
The function addslashes does this for you.
CB
At 11:07 AM 2/1/01 -0700, Karl J. Stubsjoen wrote:
Hello, I'm trying to pass back a link to the user in a textbox (so they can copy and paste it elsewhere), however my textbox is being parsed incorrectly by the browser because of the " quotes which happen in the link I'm passing - basically the HTML for the text box is getting parsed together with the HTML for the passed link and .... the results are messed up. How do you pass quotes to a textbox? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net