View Single Post
Old 06-27-2022, 08:13 AM  
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,247
Quote:
Originally Posted by Publisher Bucks View Post
I'm getting the following error message on a basic newsletter program im putting together, I'm assuming that it may have something to do with additional white/ blank spaces in the code but, I cant find any in the code.



This is the index.php file code:



Any help would be greatly appreciated, I've been fucking with this line 11 issue for the last 30 minutes with no resolve :/

This code runs fine on my server :

PHP Code:
<?php
$title 
"Home!";
$content = <<<EOF
<h3>current stats</h3>
<p>
$users user registered</p>
<p>
$emails subscribers</p>
<p>
$subs newsletter subscriptions</p>
<p>
$nls newsletters</p>
<p>
$mess messages</p>
<p>
$temps templates</p>
EOF;
echo 
$content?>

There seems to be no problem with that code.


__________________
Make Money with Porn
blackmonsters is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote