added api/php/results/index.php
learned to use $GLOBALS
started working on api tests
more
more
better tests.