I created a useful
How To Use MOSADDPHP article. For all intensive purposes it's a hello world or in this case my name is example with step by step instructions on how to use MOSADDPHP.
MOSADDPHP Demo Tuturial Example: http://www.hibbits.com/content/view/27/9/
I had a really tough time finding documentation on MOSADDPHP so it took me a little while to figure out. Once you get the hang of it, it's pretty easy. I the basic Mambo concept is that any thing in curly braces is a command. e.g {mosimage} would insert an image. In the case of MOSADDPHP you need to insert the text {mosaddphp:test.php} into your page which will call the .php file from the /mosaddphp folder. This will allow you to display your PHP script.
However if you want to interact with the PHP script e.g. some sort of <FORM> that returns a result, you will need one other piece of info. In your php script you will need to pull in all the info about that page so when you click submit it will take you back to the current page. This info can then be hidden in your form so it works correctly.
e.g. <input type="hidden" name="option" value="<?php echo mosGetParam( $_REQUEST, 'option', "" ); ?>">