wampserver - PHP seems to run the first line then the rest displays in browser ← (PHP)

one text

Solution:

I think PHP doesn't run at all. Look in your source code in your browser, if you can see <?php your PHP doesn't work. Create a file "info.php" and write the code: <?php phpinfo(); ?> to test your PHP.

Source