Jump to content

simple file check question


spillage

Recommended Posts

sorry zhadus should have been more specific. i need to have a check box option for deleting data on the same page and have got myself in a mix with unlink deleting the entire .txt file so the page refreshed and then showed and error because it cannot find the file. thought that by having this code in first i could stop this happening by possibly using an if function. although thinking of trying to open the file using just 'w' then closing again as im sure this will just clear all the data in the file. like i said im very new to this and still trying to get my head around allot of it.

 

thanks

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.