parsing html code and print out

ive this html page ( PART CODE) with multi ( a href="https://twitter.com/$name) I need to parse all $names and print in page how i can do this ?

 <td>Apr 01 2011<br><b>527
  </b> 
</td>
<td>
                                            <a href="https://twitter.com/al_rasekhoon" class="twitter-follow-button" data-show count="false" data-lang="" data-width="60px" > al_rasekhoon</a>
</td>                                   
</tr>
   <tr class="rowc"><td colspan="11"></td></tr>

Answers


You need to loop over your $names array and print a correct a tag for every entry in that array. Like this:

<?php foreach($names as $name){ ?>
    <a href="https://twitter.com<?php echo $name ?>"><?php echo $name ?></a>
<?php }  ?>

Need Your Help

Remember the data in In-App purchase in Swift

ios iphone xcode swift ipad

I made an app that has only 1 In-App purchase and when you buy it - it removes the Ads.