I m trying to delete one image using unlink function.
But path creates error to pass. My syntax is as below.
unlink('customer\'.$user_id."\book\".$id);
But this will generate error here.
Please help me to solve this. Thanks in advance.
I m trying to delete one image using unlink function.
But path creates error to pass. My syntax is as below.
unlink('customer\'.$user_id."\book\".$id);
But this will generate error here.
Please help me to solve this. Thanks in advance.
Try this:
unlink('customer\\'.$user_id."\\book\\".$id);