View Single Post
ישן 16-03-06, 23:14   # 6
בניה
משתמש - היכל התהילה
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
מיקום: נחושה
הודעות: 3,434

בניה לא מחובר  

לש"ש


הקוד הזה עובד מצויין:
PHP קוד:
<?php
class func {

function 
func2() {
return <<<EOF
÷&eacute;&eacute;&iacute;
EOF;
}

function 
func1() {
return <<<EOF
&igrave;&agrave; ÷&eacute;&eacute;&iacute;
EOF;
}

function 
whofunc() {
if(
$_GET['act']=='')
{
return 
$this->func1();
}
else

return 
$this->func2() ;
}
}
$a=new func();
echo 
$a->whofunc();
?>
  Reply With Quote