This may sound like a stupid question but are you trying to 'view' it by going to the URL bar in Firefox and typing http://localhost/yourphpfile.php? That way uses Apache to process the php file and send you the data. If you are trying by doing a File->Open it will not work. Just thinking the obvious. Bryan -- bnutting