Pages

Tuesday, July 16, 2013

Sintaks PHP/HTML Untuk Menampilkan Waktu SIstem (SYSDATE)

<html>
<body>
  
	echo "Current date and time :
";  
	$result = mysql_query("SELECT SYSDATE()");  
	while($row=mysql_fetch_array($result))  
	{  
		echo $row["SYSDATE()"];  
	}
?>
</body>
<html>

No comments:

Post a Comment