Question : see if variable is set


is this the method to see if the variable is present

if (isset  $_FILES["myfile"]["name"]){

Answer : see if variable is set

isset uses parentheses.
1:
2:
3:
if(isset($_FILES["myfile"]["name"])) {
...
}
Random Solutions  
 
programming4us programming4us