What is a common issue faced by PHP beginners when trying to view PHP files in a browser?

A common issue faced by PHP beginners when trying to view PHP files in a browser is that the PHP code is not being interpreted by the server, resulting in the code being displayed as plain text in the browser. This issue can be solved by ensuring that the PHP files are saved with a .php extension, and that they are being run on a server that supports PHP.

<?php
// Your PHP code here
?>