What to do for displaying text in a new line | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

What to do for displaying text in a new line

19th Aug 2016, 11:15 AM
Shraddha Behra
2 Réponses
+ 1
Yes, you can use HTML-tags in PHP. So if you're in an echo, you should just place <br /> in there.
25th Aug 2016, 5:21 PM
matsn0w
matsn0w - avatar
- 1
you can use <? echo "my name is \n Airon"; ?>
19th Aug 2016, 8:56 PM
Airon Wellington
Airon Wellington - avatar