I am trying to return a value to a function with condition
for example,
function thisFunction($para){
return ($para == true)? "Yes":"No";
}
is that the right way to return????
What if i need to return an array object? what is the possible solution to do it ?
Aucun commentaire:
Enregistrer un commentaire