if its in a php file it gets parsed by php, but if there are no <?php ?> tags in there, its output as straight html so itd be just as viewable.
just store them in a file not acccessable from the web, or htaccess protect it with deny from all so the file cant be viewed.
if its storing usernames and passwords, you could do like
username|sha1-hashed-password-here