Search the Community
Showing results for tags 'htmlapecialchars'.
Hi, I wonder why echo is needed in the following lite of code (for a safe form submission)? I have searched for an answer but everyone seems to discuss the htmlspecialchar thing, but noone explains the "echo". <form method="post" action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]);?>"> When I use this piece of code it results in a zero printed out on my website... Thanks a lot!