Show 'no file' when there is no available file to download.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • msei
    New Member
    • Mar 2009
    • 6

    Show 'no file' when there is no available file to download.

    Since I am new using php and mysql, is there a way to display no file to download whenever one of the record listed does not have any file to be downloaded? Any help will be appreciated. Thank you in advance.
  • Markus
    Recognized Expert Expert
    • Jun 2007
    • 6092

    #2
    This thread is in reference to Upload Files Into MySQL Database Using PHP - Article.

    If you look at lines 42 - 45 of the last section of code, Atli shows you how to show a default "File does not exist" error.

    Comment

    Working...