View Single Post
  #8  
Old 09-21-2016, 10:03 PM
Dinocanid's Avatar
Dinocanid Dinocanid is offline
Member
 
Join Date: Aug 2016
Location: Maryland, USA
Posts: 516
Gender: Unknown/Other
Credits: 90,210
Dinocanid is on a distinguished road
Default

I plugged the code in on a test page to see if I could smooth out any errors and I found:

Parse error: syntax error, unexpected 'http' (T_STRING) in /home/adopttes/public_html/view/explorearea2view.php on line 45

The answer to that would be to change this:
PHP Code:
$document->add(new Comment("<center><img src="http://pile.randimg.net/1/90/85239/Hanafuda%20losers.png"></center>", FALSE)); 
To this:
PHP Code:
$document->add(new Comment("<center><img src='http://pile.randimg.net/1/90/85239/Hanafuda%20losers.png'></center>"FALSE)); 
After that it seems to run fine. (Yours wouldn't say explorearea2view though, it would be wherever your code is)

Last edited by Dinocanid; 09-21-2016 at 10:07 PM.
Reply With Quote