HOWTO USE : htmlspecialchars

From: Date: Mon, 07 Jan 2002 13:47:25 +0000
Subject: HOWTO USE : htmlspecialchars
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-79689@lists.php.net to get a copy of this message
<form action=form.php method=GET> Info: <input type=text name=info size=25 maxlength=25 value="<?php htmlspecialchars($info); ?>"> <input type=submit> </form> Hi, im trying this form w/ htmlspecialchars (php function), but it doesn't seem to work, when i submit the form.. htmlspecialchars($info); is included on the source ex: <? HTMLSpecialChars($info); ?> Hm, am i correct? thanks!! louie

« previous php.general (#79689) next »