Sowheneveryou'regoingtobeusingtheprintfunctionandthepersonthat's goingtobeconsuming, whateverthecontentiscreatedisgoingtobeusing a Webbrowser.
T viewthecontentthatyouaddtheHTMLtagsin.
Sowhat's withthat?
Let's goovertothecomputerso I canshowyouhowtoaddtheHTMLtagsinforwhenyou'reusingtheprintfunctionofPHP.
Sothisis a verysimplescriptandPHPtocreateanunordinarylistusingtheprintfunction.
I alsohave a secondscriptthatusesthenewlinecommandwithintheprintfunction.
Sothiswill.
WhatwillthiswillshowyouisbothhowyoucanuseHTMLinordertofourMatttextssothatitcouldbelookedatthrough a WebbrowserandhowyoucoulddothingssuchasusethenewlinecommandsothatyoucanformatthesourcefortheWebpagesothatit's easiertolookatallyouhavetodioagain.
Ifeverythingisjustinoneblockandthere's a problem, itcanbedifficulttofigureoutwhattheproblemis.
Well, ifyouusethenewlinecommand, ifyouformatthetextthatyou'reprintingout, thenitmakesiteasiertogothrough a troubleshootandseewhat's goingon.
Sowhenwedothe H oneyouknow, printwiththenewlineexamplehere, whatwecanseeisyou l wasprintedononelinethanThefirstitemwasprintedononelinethattheseconditemwasprintedonthenextline.