I am a beginner of php and i am trying to put an applet in a php tag, but i didnt find how. Could you help me?
I post the code:
**** PLEASE USE THE
Code: Select all
TAG *****[/color]Code: Select all
<?php
class block_simplehtml extends block_base {
function init() {
$this->title = get_string('simplehtml', 'block_simplehtml');
$this->version = 2004111200;
}
function get_content() {
if ($this->content !== NULL) {
return $this->content;
}
$this->content = new stdClass;
$this->content->text = 'The content of our SimpleHTML block!'; //HERE I WOULD LIKE TO PUT MY APPLET
$this->content-> footer = 'Footer here...';
return $this->content;
}
}
?>
Please help me .....