alphacooler
Programmer
When one uses a function inside a conditional like:
if(move_uploaded_file($file_tmp, "$rand_name.$file_ext")) what exactly happens?
Does the function run and if it is sucessful everything inside the conditional runs?
If so, would this construct only work for functions that return true or false?
Thanks so much.
if(move_uploaded_file($file_tmp, "$rand_name.$file_ext")) what exactly happens?
Does the function run and if it is sucessful everything inside the conditional runs?
If so, would this construct only work for functions that return true or false?
Thanks so much.