Ask about general coding issues or problems here.
Moderators: macek, egami, gesf
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");
- New php-forum User
- Posts: 9
- Joined: Sun Mar 03, 2013 11:56 pm
unlink deletes a file and rmdir removes a directory. Please check the php manual.
- php-forum Super User
- Posts: 1805
- Joined: Thu Mar 10, 2011 5:07 pm
Return to PHP coding => General
Who is online
Users browsing this forum: No registered users and 1 guest