Reputation: 153
I need help to preview my php file. I've been trying for days now and can't get it to work. My apache and mySQL servers are both connecting. I've set up my Brackets and it did open up a preview screen in Chrome but whatever i have in the file just won't show up.
Please help me out, thanks! Angel
Upvotes: 0
Views: 756
Reputation: 1108
From here, it appears that you're probably getting a silent PHP parse error, you can check the PHP log in MAMP to confirm.
The standard PHO opening tag is
Give this a try:
<?php
echo "Hello world";
?>
Upvotes: 1