[PHP 03]

Test





[php ¿¬½À]



2 + 3 = 5
2025³â 04¿ù 26ÀÏ PM20:10



[php ¼Ò½º]

<html>
<head>
<title>PHP</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
</head>

<body>
<table width="1000" border="1" cellspacing="0" cellpadding="0" align="center">
	<tr>
		<td height="70" width="267" bgcolor="yellow">
<center>
<span style=font:15pt;color:green;><font face="µ¸¿ò">
<h1>[PHP 03]</h1>
</center>
		</td>
		<td heigt="70" bgcolor="pink">
<center>
<h1>Test </h1>
</center>
		</td>
	</tr>
</font></span>
</table>
<br>

<table width="1000" border="1" cellspacing="0" cellpadding="0" align="center">
<tr><td>

<table width="600" border="0" cellspacing="0" cellpadding="0" align="center">
<tr><td>
<br>
<form name ="ainput" action="pdata03.php" method="post">

<hr>
<br>
<h3>[php ¿¬½À]<br></h3>
<?php

	function addnum($a, $b)
	{
		$c=$a+$b;
		return $c;
	}

?>
<hr>
<br>
<?php

	$x=2;
	$y=3;
	$z = addnum($x, $y);

	print "$x + $y = $z";
	print "<br>";

	$time = date("Y³â m¿ù jÀÏ AH:i");
	print $time;
	print "<br>"; 

?>
<br>
<hr>
</form>

</td></tr>
</table>

</body>
</html>