New course! Every coder should learn Generative AI!
Try a free lesson+ 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>';
?>