Re: Strings in text fields are bad

From: Date: Tue, 26 Sep 2000 04:49:26 +0000
Subject: Re: Strings in text fields are bad
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-17521@lists.php.net to get a copy of this message
Maxim Maletsky wrote: > well, just tested: > > $caddress = "12345 'Abc Ave."; > echo '<input type=text name=caddress value="' . $caddress . > '">'; > > not much happens ... Try $caddress = '1234 "Abc Ave'; or $caddress = "1234 Abc Ave\"><SCRIPT language=\"JavaScript\">alert('Boo');</SCRIPT>"; -- Simon Edwards Animated Design, Melbourne http://www.animated.net.au/ Ph: (03) 98850990

« previous php.general (#17521) next »