I am getting information from the database to show it to the user, example:
$data = (get_option('config')) ? get_option('config') : false;
I need to display this data when loading the webpage, example:
<label><?php echo $data['title']; ?></label>
<input type="text" value=" <?php echo $data['value']; ?> " >
Is it necessary protect this data before showing it to the user, if the information is obtained from the database?
Thank you very much