>Wow! That really help for a not so effective HTML tag... "Wow! That does really help to make up for the lousy HTML tags..." Does that help? :-)
Scott F. "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Wow! That really help for a not so effective HTML tag... > > Thanks! > Scott F. > > "Cpt John W. Holmes" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message > > news:<[EMAIL PROTECTED]>... > > > > > > > > > I haven't found a more efficient way to better escape the quote > > > > > characters for the javascript right from PHP because I only get "The > kid" > > in > > > > > the javascript alert message, so I'm wondering if anyone of you know of > > > > > something better than that... > > > > > > > > > > --snip-- > > > > > <form name="Test_Form"> > > > > > <? > > > > > $test1 = "The kid's name is \"Bob!\""; > > > > > > > > $test1 = htmlentities($test1,ENT_QUOTES); > > > > > > > > instead of addslashes. > > > > > > > > > echo "<input type='hidden' name='htmlTest1' value='".$test1."'>"; > > > > > > > > ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php