+ 1
what is ment by <br \>; in php
see the code https://code.sololearn.com/wmeupl4Lp7aF/?ref=app
2 odpowiedzi
+ 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 ).
0
thanks