Re: AW: [PHP-DB] Could be this less complicated?

From: Date: Thu, 13 Jul 2000 13:34:28 +0000
Subject: Re: AW: [PHP-DB] Could be this less complicated?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-1108@lists.php.net to get a copy of this message
Hi, On Thu, 13 Jul 2000, Sels, Stefan wrote: > You can do this automaticly with addslashes($string) and remove it with > stripslashes($string). > > Regards > Stefan Sels > <? > $tag=5555; > echo "<TD bgcolor=\"#56a4d8\"><FONT size=1> > <INPUT maxLength=5 name=tagdisabled value=\"$tag\" style=\"HEIGHT: 22px; > WIDTH: 89px\"></FONT></TD>"; > ?> The simplest I know would be: echo "<TD bgcolor='#56a4d8'><FONT size=1> <INPUT maxLength=5 name=tagdisabled value='$tag' style='HEIGHT: 22px; WIDTH: 89px'></FONT></TD>"; -- This company has performed an illegal operation and will be shut down. If the problem persists, contact your vendor or appeal to a higher court.

« previous php.db (#1108) next »