I'm a PHP newbie. I've been a client-side (JavaScript/DHTML) programmer for two years. I've reached a point where I need to use a server-side language to perform some functions. Anyways, my question:
In JavaScript, functions can return values. For instance, like this:
function myFunc(myParam) {
return myParam++;
}
Is there a way to do this in PHP? Any help is greatly appreciated. Have a nice day 🙂.