|
I second the CSV. One line of PHP along the lines of:
Your CSV:
Column1,Column2,Column3
PHP:
preg_replace('/\b,\b,YourValue.*?$/',"",file_get_contents($file));
In english: Search for a word, a comma, YourValue optionally followed by other things, as many of them as you'd like, until the end of the line.
This is untested, but should be close.
|