See CommonTask for more examples. PHP Code: // load our template $t = new BeeTpl("example.html"); // setting tag or id value $t->title = "Silakan pilih kode dokter"; // setting a tag attribute $t->node("nama")->attr(value,"Dr. Soeharto"); // setting textarea value $t->alamat = "Jakarta, Indonesia"; // see the output $t->render(); Template file: <html> <head> <meta http-equiv="content-type" conte