구분 | 결과 |
---|---|
$this->load->vars($data) | 1111 |
$this->load->get_var('test') | 1111 |
$this->load->file('sample/text/myhtm.txt') | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=EUC-KR"> <title>Insert title here</title> </head> <body> </body> </html> |
$this->load->file('sample/text/myhtm.txt', TRUE) | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=EUC-KR"> <title>Insert title here</title> </head> <body> </body> </html> |
// End of Sample
© Copyright by hoksi(Page rendered in 0.0037 seconds)