View Single Post
ישן 15-12-06, 12:37   # 3
RS324
תודה על תרומתך.
 
מיני פרופיל
תאריך הצטרפות: May 2006
הודעות: 3,173

RS324 לא מחובר  

ציטוט:
נכתב במקור על ידי x-ray צפה בהודעה
מתי זה מועיל?
לדוגמא :

PHP קוד:
function print_template($templatename)
{
    echo 
"templatename is $templatename";
    print 
file_get_contents("$templatename.tpl");
}

eval(
"print_template('mytemplate')"); 
  Reply With Quote