unlink() function : It is a function for file system handling. It will simply delete the file in context.
unset() function : It is a function for variable management. It will make a variable undefined.
Unlink () function deletes the given file from the file system. whereas Unset() function makes a variable undefined.
unlink: It is used to remove the file from server.
unset: It is used to remove the variable.
I have started learning PHP and got a thought about mysql.
I did google and found this stack overflow link
But there are less answers and more discussions. Can someone give me the right answer which has full description in it.