Re: What is wrong with this?

From: Date: Mon, 24 Feb 2003 18:37:02 +0000
Subject: Re: What is wrong with this?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-136956@lists.php.net to get a copy of this message
www.php.net/htmlentities Michael Cook wrote:
Chris Hayes <chayes@antenna.nl> writes:
Put some quotes around the tag value for just in case the $aviao has a space in it:
            $drop_down_list .= "<optionvalue=\"$aviao\">$aviao</option>";
   
what about if $aviao contains a double quote? what's the proper way to handle that case? or, in other words, what's the most general way to solve this problem?
-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.

« previous php.general (#136956) next »