Hi (sorry for my bad english, i'm from germany :D ),
i tried to bring the background to my game, but i'ts dont show =/ and when i try to show the pet-picture, i became an error:
Code:
Fatal error: Call to a member function getImage() on null in /users/equino/www/view/myadoptsview.php on line 135
That's the Line:
PHP Code:
$document->add(new Comment(" <div style='background-image:url:{$adopt->adoptbackground} no-repeat;vertical-align:bottom;text-align:center;width:400px;height:283px'><img src='{$adopt->getImage()}'></div><br><br>This page allows you to manage {$name}. Click on an option below to change settings.<br>
can anyone help me? :)
btw i hope you understand me