+ 1
php, append file
while appending (a)names to txt file how to prevent duplicates.. kindly help..
3 Respuestas
+ 1
before appending you can read file and check if name already in it. If file does not contain name then add it.
0
first check with a condition, if there is already a file with the same name, then if the condition is true change the name to something else
- 1
thanks guys.. can you pls send me the codes to read file and check if name exist in file.