Lowest price ever! Learn Generative AI for 48% less!
Get my discount+ 1
How to print a tab space in php?
2 Answers
+ 2
Thank you so much. I'll try this code. 🙂🙂
+ 1
Wrap the output within HTML <pre> block.
<?php
echo '<pre>';
echo "\tTabbed line\n Space padded line\n";
echo '</pre>';
?>