basic php script for outputting data