Hello Everyone,
I've been away for quite some time now and have forgotten a lot of php. I've started programming again and stuff is coming back to me.
I have this simple php code I need to see how to get it going
$a="apple";
function fruits(){
if($a=='apple'){
return "Yesssssssssss!!!!!!";
}//end if
}//end function fruits
echo fruits();;
What's wrong with this?
Thanks for your taking your time in reading this.