PHP add string to the end of a line containing string
<p>How to add string to the end of a *.txt file? This line must contain predefined string (ex. "Category:Clothes" - it will add string at the end of a line containing "Clothes")</p>
