Ask about general coding issues or problems here.
Moderators: macek, egami, gesf
- New php-forum User
- Posts: 9
- Joined: Sun Mar 03, 2013 11:56 pm
Hi im new to php. could anyone help to figure out what is the problem with my code to unlink files from two different folders in php. In the code i can unlink image alone note the other file.
Here is my code.
Code: Select all
$emp1 = $_GET['del'];
$sql1=mysql_query("Select * from emp_tbl where id=$emp1");
- php-forum Super User
- Posts: 1805
- Joined: Thu Mar 10, 2011 5:07 pm
unlink deletes a file and rmdir removes a directory. Please check the php manual.
Who is online
Users browsing this forum: Bing [Bot], Google [Bot], phpnoob, verbeekt and 1 guest