Loading ...
Sorry, an error occurred while loading the content.
 

Re: [bang-phpug] htmlspecialchars Function is not working

Expand Messages
  • prem panshette
    Hi Instead of this htmlspecialcha rs($str, ENT_QUOTES); use htmlentities($str); anu_id2006 wrote:
    Message 1 of 2 , Jul 11, 2007
      Hi
      Instead of this
      htmlspecialcha rs($str, ENT_QUOTES);

      use

      htmlentities($str);

      anu_id2006 <anu_id2006@...> wrote: <?
      $str = "<script>contact</script>";
      //its output will be <script>contactltscriptgt --- something like
      this
      $val=htmlspecialchars($str, ENT_QUOTES);
      echo $val;
      ?>
      htmlspecialchars Function is not working it shows
      "<script>contact</script>" this only






      ---------------------------------
      Here’s a new way to find what you're looking for - Yahoo! Answers

      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.