There is a problem getting me Can anyone explain that Here is the code: When I resonate Try As stated, nl2br to do everything I need to do .
nl2br is passed to
\ n in JSON data by
& lt; Br / & gt; In my PHP?
$ page = file_get_contents ('JSON_FEED_URL'); $ Page2 = nl2br ($ page);
$ page2 and look at the HTML page, it comes in the form of a large wall of text.
$ page = file_get_contents ('JSON_FEED_URL') ; $ Page2 = preg_replace ("/ \\ n / m", "
str_replace works even faster, but the number above the multipurpose brake.
No comments:
Post a Comment