how do i unlink more than 1 image in my mysql at once

Discussion in 'PHP' started by adsegzy, Aug 4, 2010.

  1. #1
    Hello friends,



    I want to unlink more than 1 image from my mysql database at the same time. how do i echo them out and unlink them?

    I will appreciate a sample syntax if available.



    regards,

    adsegzy
     
    adsegzy, Aug 4, 2010 IP
  2. bartolay13

    bartolay13 Active Member

    Messages:
    735
    Likes Received:
    14
    Best Answers:
    1
    Trophy Points:
    98
    #2
    if(unlink($TempDirectory."/".$FileName, $TempDirectory2."/".$FileName2))
    {
    // delete query
    }
     
    bartolay13, Aug 4, 2010 IP