 |
|
|  |
|
 |
15³â Àü |
<!--
ÀÏ¹Ý ÀûÀÎ »ç¿ë ¹æ¹ý
* º¯¼ö¿¡ ½ÃÀÛÀÌ " ·Î µÇ¾úÀ»°æ¿ì <input name='button'> or <input name=\"button\">
ÀÌ·¸°Ô ÇØÁÖ¾î¾ß ÇÑ´Ù
--> <?php
$test = "¹ÂÁ÷Æ®·ÎÆ®";
$content = "
{$test} ´Ô ¹ÂÁ÷Æ®·ÎÆ®¿¡ ¿À½Å°É ȯ¿µÇÕ´Ï´Ù. <br>
Àß»ý±ä {$test}´Ô ¹æ°ª½À´Ï´Ù.<br>
¸ÂÀ¸¸é Ŭ¸¯Çϼ¼¿ä <input type=\"button\" name=\"ok\" value=\"¸Â¾Æ¿ä\"><br><br>
";
echo $content;
?>
¡¡
<!--
ÇÔ¼ö¸¦ ÀÌ¿ëÇÑ ¹æ¹ý
* º¸Åë Çü½Ä ó·³ ¹®ÀåÀ» ÀÚÀ¯·ÎÀÌ ¾µ¼öÀÖ´Ù
-->
<?php
function HTMLtextinner()
{
global $test;
?>
<?=$test;?>´Ô ¹ÂÁ÷Æ®·ÎÆ®¿¡ ¿À½Å°É ȯ¿µÇÕ´Ï´Ù. <br>
Àß»ý±ä <?=$test;?>´Ô ¹æ°ª½À´Ï´Ù.<br><br>
¸ÂÀ¸¸é Ŭ¸¯Çϼ¼¿ä <input type="button" name="ok" value="¸Â¾Æ¿ä"><br><br>
<?php
}
HTMLtextinner();
?>
¡¡
<!--
È÷¾î´Ú¸¦ ÀÌ¿ëÇÑ ¹æ¹ý
* EOD; ¾Õ¿¡ °ø¹éÀÌ µé¾î°¡¸é¾ÈµÊ <<<EOD ½ÃÀÛ , EOD; Á¾·á
-->
<?php
$test = "¹ÂÁ÷Æ®·ÎÆ®"; $content = <<<EOD
{$test} ´Ô ¹ÂÁ÷Æ®·ÎÆ®¿¡ ¿À½Å°É ȯ¿µÇÕ´Ï´Ù. <br>
Àß»ý±ä {$test}´Ô ¹æ°ª½À´Ï´Ù.<br>
¸ÂÀ¸¸é Ŭ¸¯Çϼ¼¿ä <input type="button" name="ok" value="¸Â¾Æ¿ä"><br><br>
EOD;
echo $content;
?>
¡¡ |
|
̵̧ : 277 |
̵̧
¸ñ·Ï
|
|
|  |
|