My code is below
<?php echo '6p]<?mSKPQ'; ?>
Above code showing result like below
6p]
But I need like below
6p]<?mSKPQ
So what should I do for avoid to break string if string have php opening tag.
My code is below
<?php echo '6p]<?mSKPQ'; ?>
Above code showing result like below
6p]
But I need like below
6p]<?mSKPQ
So what should I do for avoid to break string if string have php opening tag.
echo htmlspecialchars('6p]<?mSKPQ');