Hello Developers,

How to Delete And Update particular row of CSV file in php.

<a href="http://screenshot.ru/upload/images/2014/12/26/update625ff.png"></a>

Thanks & Regards,
Dinesh Thakur

But how will anyone know it was updated if you delete it first?

In case you meant delete or update, then

For update:

  1. Read the file line by line
  2. Manipulate the line
  3. Write back to file

For deletion:

  1. Read the file line by line
  2. Store the lines you want to keep
  3. Write those back to file

super secret shortcut for the above steps

In all seriousness though, seeing as your file isn't very big you could probably store every line in an array, manipulate/delete those and write each value back to a file, it's nothing fancy and plenty of information already exists. Especially since it's a very general question with hardly any specifics or prework.