i need to develop a tool which deleted duplicate lines in a textarea.
how do i write the code for it?
how to write the code for delting duplicate lines?
Moderator: General Moderators
Re: how to write the code for delting duplicate lines?
Get the text, break it into an array, use array_flip, use array_flip again, and turn it back into a string.
Re: how to write the code for delting duplicate lines?
Nice one, tasairis

There are 10 types of people in this world, those who understand binary and those who don't