Trim Not Working with Array from MySQL fetched String
问题 What I'm trying to do is take a block of html, strip out all the html tags, and put each line of text into a PHP array. I'm just trying it with one block to test (hence the WHERE ID = '2409' in my mysql query. The HTML portion for ID 2409 looks like this: <table class="description-table"> <tbody> <tr><td>Saepe Encomia 2.aD NEC Mirum Populo Soluni Iis 8679-1370 Status Error Sed 9.9</td></tr> <tr><td>Description</td></tr> <tr><td></td> <td><br> <br><p></p><p></p> <strong><br></strong> <strong>