i have a problem that i receive in output same lines how can i remain one line for example: my output : https://www.seoclerk.com/Other/2658/Transfer-Funds-to-your-SEOClerks-Account-Balance https://www.seoclerk.com/Other/2658/Transfer-Funds-to-your-SEOClerks-Account-Balance i need to receive one line https://www.seoclerk.com/Other/2658/Transfer-Funds-to-your-SEOClerks-Account-Balance i write simple script on php i think to use in strpos()
Just do a comparison of the full line? if ($currentline != $nextline) { echo $currentline; } Code (markup):
ssimon171078, Do you need to have only unique lines in the whole output or just to avoid duplicate lines that are going in sequence?
Then what PoPSiCLe suggested should work fine. The only thing: probably it will be better to use $previousline instead of $nextline in your case.