what is ment by <br \>; in php | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
4th Jun 2017, 9:15 PM
Anyon2748
Anyon2748 - avatar
2 Answers
+ 6
Php purpose is to generate Html code dynamically from server side (often using database to fill html templates)... 'echo' statement output string on the data stream send by server to user web browser, so mostly you send Html content: <br> ( <br /> is not valid in Html5 -- even if permisivity of Html let browsers automatically correct it, your content should be downranked by search engines and so on) is the Html element for putting a break-line entitities (as default behaviour of Html is to consider new lines characters as any space character ).
4th Jun 2017, 9:27 PM
visph
visph - avatar
0
thanks
4th Jun 2017, 9:28 PM
Anyon2748
Anyon2748 - avatar