PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
~pickle | Please use [ code=html ], [ code=php ], etc tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: Posting Code in the Forums to learn how to do it too.
Can someone tell me what is the use of strip_tags(); As per my knowledge the function of strip_tags() is to remove all HTML and PHP tags from a given string, but when i am enter <p>Test paragraph.</p><!-- Comment --> Other text in text box then i getting blank out put.
~pickle | Please use [ code=html ], [ code=php ], etc tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: Posting Code in the Forums to learn how to do it too.
You have set the <form>'s action to "secureTextBox.php", however you have the php code on the same page as the form. Is the script's name "secureTextBox.php" ? You should leave action="" or not set it at all if you want it to go to the same page, in case you ever change the script's name in the future.