All Questions
2 questions
1
vote
1
answer
5k
views
How to sanitize user input?
What is the correct way sanitizing form data before submitting to the database? I have the following text input:
<form method="post" action="options.php">
<?php wp_nonce_field('update-...
1
vote
1
answer
619
views
How Could I sanitize the receive data from this code
<form id="tellastory" method="post" action="">
<label for="fullname">Full Name </label>
<input id="fullname" name="fullname" type="text" maxlength="255" value=""/>
...