note 13585 deleted from function.filetype by philip
| From: | philip@php.net | Date: | Thu, 06 Feb 2003 04:00:00 +0000 |
| Subject: | note 13585 deleted from function.filetype by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-43494@lists.php.net to get a copy of this message | ||
Sorry, checking if the variable is empty should not be done with '$x = ""'
change that line in my code to this:
if (is_null($file_type)) { $file_type = "unknown"; }