+ 1

How to print a tab space in php?

3rd Apr 2020, 11:40 AM
Asha Malla
Asha Malla - avatar
2 Answers
+ 2
Thank you so much. I'll try this code. 🙂🙂
3rd Apr 2020, 12:19 PM
Asha Malla
Asha Malla - avatar
+ 1
Wrap the output within HTML <pre> block. <?php echo '<pre>'; echo "\tTabbed line\n Space padded line\n"; echo '</pre>'; ?>
3rd Apr 2020, 11:49 AM
Ipang