Hi!
I have a txt file which contains names, and every name is followed by number, so i want to make a form in which i would enter a name, and both name and associated number would get removed from txt file (with entering only name, not number)
Thanks in advance!
http://www.php.net for documentation
useful functions: fopen fread fclose preg_replace file_put_contents
Are the names/numbers on a separate line? E.g.
John Doe,3 Jane Doe,4 etc,5
If so, I would say all you need to use is [man]file/man, [man]array_search/man, [man]unset/man, and [man]file_put_contents/man.