hey all,
can anybody help me regarding "\t" bcoz
"\t" not working
nikesh.yadav 4 Posting Whiz in Training
Recommended Answers
Jump to PostIn what context are you attempting to use "\t"? Can you post your code?
Jump to PostCorrect me if I'm wrong, but if you do "word \t word" it is possible that the first word ended right before the tab stop, making the tab not noticable.
Foo Bar Foo Bar Foo Bar Foo Bar
Line 1 = Foo\tBar
Line 2 = Foo Bar\tFoo …
Jump to PostAFAIK, that is not HTML tag, so it will be displayed s part of word that is
echo "CSGAL\t" will be displayed as CSGAL\t
Jump to Postsince \t is equal to 4 spaces (sometimes 8 spaces) why not add 4/8
<?php for($i=0;$i<5;$i++) { echo " Ramesh is learning PHP"."<br/>"; } ?>
All 13 Replies
darkagn 315 Veteran Poster Featured Poster
nikesh.yadav 4 Posting Whiz in Training
Lejonet 0 Newbie Poster
muximus 0 Unverified User
sam-i-am 0 Newbie Poster
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member
sam-i-am 0 Newbie Poster
Stefano Mtangoo 455 Senior Poster
sam-i-am 0 Newbie Poster
chumneang.lun 0 Newbie Poster
revolution54 0 Newbie Poster
phphelp2k 0 Newbie Poster
Stefano Mtangoo 455 Senior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.