HI all,
I have this in a snippet:
($_FILES[$fieldname]['error'] == 0)
or error($errors[$_FILES[$fieldname]['error']], $uploadForm);
and I do NOT understand one bit what it does.
$_FILES is clear,
function error is clear,
but how does
(a==b)
or (do something);
work. Some alternative if statement syntax perhaps?
Is it identical to:
if(a!=b) {do something;}
-----
if(answer==yes) {write yes;} else {explain;}
Clueless
Dennis
I have this in a snippet:
($_FILES[$fieldname]['error'] == 0)
or error($errors[$_FILES[$fieldname]['error']], $uploadForm);
and I do NOT understand one bit what it does.
$_FILES is clear,
function error is clear,
but how does
(a==b)
or (do something);
work. Some alternative if statement syntax perhaps?
Is it identical to:
if(a!=b) {do something;}
-----
if(answer==yes) {write yes;} else {explain;}
Clueless
Dennis
Kommentar